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 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Array to string conversion in /in/rYRpF on line 7 Array
Output for hhvm-3.10.0 - 3.13.2
Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 +1Array +1Array +1Array +1Array +1ArrayArray
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1Array Notice: Use of undefined constant a - assumed 'a' in /in/rYRpF on line 4 Notice: Use of undefined constant z - assumed 'z' in /in/rYRpF on line 4 +1ArrayArray