3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new stdClass(); $array = ['metar', 'info', 'setinfo', 'taf', 'lastseen']; $obj->info = "info"; $obj->setinfo = "setinfo"; $obj->metar = "metar"; $obj->taf = "taf"; $obj->lastseen = "lastseen"; //echo json_encode($obj); $serialized = serialize($array); var_dump(in_array('taf', unserialize($serialized)));
based on teHeJ