3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"Confirmation":"200710035843DH4","Message":"success","Status":"success"}'; $arr = json_decode($json, true); list('Confirmation' => $conf, 'Message' => $msg, 'Status' => $status) = $arr; echo $conf . PHP_EOL; echo $msg . PHP_EOL; echo $status . PHP_EOL;

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
151.72 ms | 2111 KiB | 9 Q