Answers for "php test if property exists"

PHP
2

php does property exist

if(property_exists($car,color)){
	//$car->color exists
}
Posted by: Guest on June-19-2019

Browse Popular Code Answers by Language