3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { array_map(function () {throw new \Exception;}, [1, 2, 3]); } catch (\Exception $e) { } try { array_filter([1, 2, 3], function () {throw new \Exception;}); } catch (\Exception $e) { } try { array_reduce([1, 2, 3], function () {throw new \Exception;}); } catch (\Exception $e) { }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
160.56 ms | 2288 KiB | 11 Q