3v4l.org

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