functional members php code example
Example 1: declare variable in php class
<?php
class SimpleClass
{
public $var1 = 'hello';
}
?>
Example 2: php object
$obj = [
"example1" => 1,
"example2" => "two",
"example3" => [
"example4": true
]
]