Buscar

16050514-Apostila-Programacao-PHP-e-MySQL-ExatasWeb-101

Prévia do material em texto

PHP e MySQL 
Is_object()
Retorna true se a variável for um objeto
Int is_object(mixed var);
Is_real()
Retorna true se a variável for do tipo real
Int is_real(mixed var);
Is_string()
Retorna true se a variável for do tipo string
Int is_string(mixed var);
Isset()
Retorna true se uma variável existir
Int isset(mixed var);
Settype()
Altera o tipo de uma variável. Retorna true se tiver sucesso; caso contrário, retorna false
Int settype(string var, string tipo);
Tipos permitidos
Integer
Double
String
Array
Objeto
Strval()
Retorna o valor em string de uma variável
String strval(mixed var);
Unset
Exclui uma variável
Int unset(mixed var);
101
	Glossário de funções do PHP
	Variáveis
	Is_object()
	Is_real()
	Is_string()
	Isset()
	Settype()
	Strval()

Continue navegando