3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $requestData = array(); $requestData .= array("num1" => 1); $requestData .= array("num2" => 2); $requestData .= array("num3" => 3); var_export($result);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/5fdk7 on line 3 Notice: Array to string conversion in /in/5fdk7 on line 3 Notice: Array to string conversion in /in/5fdk7 on line 4 Notice: Array to string conversion in /in/5fdk7 on line 5 Notice: Undefined variable: result in /in/5fdk7 on line 7 NULL
Output for 5.0.4 - 5.3.29
Notice: Undefined variable: result in /in/5fdk7 on line 7 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: result in /in/5fdk7 on line 7 NULL