3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $response = false; $data = '<?xml version="1.0" encoding="UTF-8"?><result><status>0</status><error>FATAL_ERROR</error></result>'; if (is_array($data) && ((isset($data['result']['result']['status']) && $data['result']['result']['status']) || (isset($data['result']['result']['STATUS']) && $data['result']['result']['STATUS'])) ) { $response = $data['result']; } var_dump($response);
based on 42HYB
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
bool(false)
Output for hhvm-3.10.0

Process exited with code 153.