3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $GenArr = ""; for ($i = 0;$i < 10; $i++){ $GenArr = range(a,z); echo "\n+1".$GenArr(); } //echo $GenArr; exit; ?>
Output for 7.0.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/YrWmB on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/YrWmB on line 4 Fatal error: Uncaught Error: Function name must be a string in /in/YrWmB:5 Stack trace: #0 {main} thrown in /in/YrWmB on line 5
Process exited with code 255.
Output for 5.3.28 - 5.3.29, 5.4.20 - 5.6.28
Notice: Use of undefined constant a - assumed 'a' in /in/YrWmB on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/YrWmB on line 4 Fatal error: Function name must be a string in /in/YrWmB on line 5
Process exited with code 255.
Output for 5.0.0 - 5.3.27, 5.4.0 - 5.4.19
Notice: Use of undefined constant a - assumed 'a' in /in/ghUNX on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/ghUNX on line 4 Fatal error: Function name must be a string in /in/ghUNX on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Use of undefined constant a - assumed 'a' in /in/ghUNX on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/ghUNX on line 4 Notice: Array to string conversion in /in/ghUNX on line 5 Fatal error: Call to undefined function: array() in /in/ghUNX on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Use of undefined constant a - assumed 'a' in /in/ghUNX on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/ghUNX on line 4 Notice: Array to string conversion in /in/ghUNX on line 5 Fatal error: Call to undefined function: array() in /in/ghUNX on line 5
Process exited with code 255.
Output for 4.3.1
Notice: Use of undefined constant a - assumed 'a' in /in/ghUNX on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/ghUNX on line 4 Notice: Array to string conversion in /in/ghUNX on line 5 Fatal error: Call to undefined function: array() in /in/ghUNX on line 5
Output for 4.3.0
Notice: Use of undefined constant a - assumed 'a' in /in/YrWmB on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/YrWmB on line 4 Notice: Array to string conversion in /in/YrWmB on line 5 Fatal error: Call to undefined function: array() in /in/YrWmB on line 5