3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $res = new \stdClass(); $res->kazkas = 'kazkas'; $res->zis = 112312; $res->aspirmas = 'aspirmas'; foreach ($res as $elem) { var_dump($elem); }
Output for 5.3.17 - 7.2.0
string(6) "kazkas" int(112312) string(8) "aspirmas"