3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(~0); $a = array(1, array( (object)array('prop' => 'value') )); sort($a); var_dump($a);
Output for 5.0.0 - 7.1.0
array(2) { [0]=> int(1) [1]=> array(1) { [0]=> object(stdClass)#1 (1) { ["prop"]=> string(5) "value" } } }
Output for 4.3.0 - 4.4.9
array(2) { [0]=> int(1) [1]=> array(1) { [0]=> object(stdClass)(1) { ["prop"]=> string(5) "value" } } }