3v4l.org

run code in 300+ PHP versions simultaneously
<?php3v4l.org - online PHP shell, test in 100+ different PHP versions! 1 2 3 4 <?php $ab = split("ban-bacfgr","a",2); echo $ab[1]; ?> based on RLX1a Output VLD opcodes Performance References Segmentation fault Output for 5.3.0 - 5.5.7 Deprecated: Function split() is deprecated in /in/LjUBp on line 2 Notice: Undefined offset: 1 in /in/LjUBp on line 3 Output for 4.3.0 - 5.2.17 Notice: Undefined offset: 1 in /in/LjUBp on line 3 $ab = split("ban-bacfgr","a",2); echo $ab[1]; ?>
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.3 - 7.4.25, 7.4.27 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
<?php3v4l.org - online PHP shell, test in 100+ different PHP versions! 1 2 3 4 Fatal error: Uncaught Error: Call to undefined function split() in /in/8OiTt:9 Stack trace: #0 {main} thrown in /in/8OiTt on line 9
Process exited with code 255.
Output for 8.0.13
Parse error: syntax error, unexpected identifier "PHP" in /in/8OiTt on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.23, 5.5.0 - 5.5.7, 7.3.32 - 7.3.33, 7.4.26, 7.4.33
Parse error: syntax error, unexpected 'PHP' (T_STRING) in /in/8OiTt on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.29
<?php3v4l.org - online PHP shell, test in 100+ different PHP versions! 1 2 3 4 Deprecated: Function split() is deprecated in /in/8OiTt on line 9 Notice: Undefined offset: 1 in /in/8OiTt on line 10 based on RLX1a Output VLD opcodes Performance References Segmentation fault Output for 5.3.0 - 5.5.7 Deprecated: Function split() is deprecated in /in/LjUBp on line 2 Notice: Undefined offset: 1 in /in/LjUBp on line 3 Output for 4.3.0 - 5.2.17 Notice: Undefined offset: 1 in /in/LjUBp on line 3 $ab = split("ban-bacfgr","a",2); echo $ab[1]; ?>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
<?php3v4l.org - online PHP shell, test in 100+ different PHP versions! 1 2 3 4 Notice: Undefined offset: 1 in /in/8OiTt on line 10 based on RLX1a Output VLD opcodes Performance References Segmentation fault Output for 5.3.0 - 5.5.7 Deprecated: Function split() is deprecated in /in/LjUBp on line 2 Notice: Undefined offset: 1 in /in/LjUBp on line 3 Output for 4.3.0 - 5.2.17 Notice: Undefined offset: 1 in /in/LjUBp on line 3 $ab = split("ban-bacfgr","a",2); echo $ab[1]; ?>

preferences:
203.46 ms | 403 KiB | 255 Q