Answers for "php use stdclass"

PHP
1

php stdclass

//create a person object in PHP
$person=new stdClass();
$person->firstName="Chuck";
$person->lastName="Bartowski";
$person->age=27;

print_r($person);
Posted by: Guest on August-06-2019
0

php new stdClass object

new stdClass()
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language