Answers for "php loop through class properties"

PHP
0

php loop through class properties

foreach ($obj as $key => $value) {
    echo "$key => $value\n";
}
Posted by: Guest on April-12-2020

Code answers related to "php loop through class properties"

Browse Popular Code Answers by Language