Phpdocs 5

Category2 compound types
Code Examples "bar", 12 => true); echo "arr[foo] == " . $arr["foo"] . "
"; // bar echo "arr[12] == " . $arr[12] . "
"; // 1 print_r($arr); // 2. object type: class foo { function do_foo() { echo "Doing foo.
"; } } $bar = new foo; $bar->do_foo(); print_r($bar); print("
"); var_dump($bar);
Test Code
Web Link
Remarks
Cancel