Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

make a object php

   $object = new stdClass();
   $object->property = 'Here we go';

   var_dump($object);
   /*
   outputs:

   object(stdClass)#2 (1) {
      ["property"]=>
      string(10) "Here we go"
    }
   */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #php
ADD COMMENT
Topic
Name
2+7 =