3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $responseObject = new stdClass(); $errors = array(); $responseObject->errors = $errors; if (isset($responseObject->errors[0]) && 1 === count($responseObject->errors)) { print 1; }
Output for 4.3.0 - 7.1.0