Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php new object


By far the easiest and correct way to instantiate an empty generic php object that you can then modify for whatever purpose you choose:



<?php $genericObject = new stdClass(); ?>



I had the most difficult time finding this, hopefully it will help someone else!
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #object
ADD COMMENT
Topic
Name
6+4 =