3v4l.org

run code in 200+ 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.2.0 - 7.2.6
Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Notice: Array to string conversion in /in/rYRpF on line 5 +1Array Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/rYRpF on line 4 Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) 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 5.4.0 - 7.1.20
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 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