3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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]; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.230.0130.05012.37
5.4.220.0140.04512.37
5.4.210.0110.04512.37
5.4.200.0140.03812.37
5.4.190.0110.04112.37
5.4.180.0120.04112.37
5.4.170.0110.04312.38
5.4.160.0130.03912.37
5.4.150.0100.04312.37
5.4.140.0170.04912.06
5.4.130.0110.04412.04
5.4.120.0100.04312.01
5.4.110.0080.04312.00
5.4.100.0190.04712.00
5.4.90.0120.05412.00
5.4.80.0110.04112.00
5.4.70.0100.04012.00
5.4.60.0160.03912.00
5.4.50.0120.03612.00
5.4.40.0100.04011.98
5.4.30.0160.05011.98
5.4.20.0090.04511.98
5.4.10.0110.04211.98
5.4.00.0140.04311.48
5.3.280.0130.04112.71
5.3.270.0140.04512.72
5.3.260.0100.04512.72
5.3.250.0200.06112.72
5.3.240.0140.03812.72
5.3.230.0230.06012.71
5.3.220.0100.04412.68
5.3.210.0130.04212.68
5.3.200.0100.04112.68
5.3.190.0140.04712.68
5.3.180.0150.04112.67
5.3.170.0250.06012.67
5.3.160.0130.04312.67
5.3.150.0120.04312.67
5.3.140.0120.04512.66
5.3.130.0220.06912.66
5.3.120.0120.04912.66
5.3.110.0140.04212.66
5.3.100.0120.04112.12
5.3.90.0120.04112.09
5.3.80.0100.04912.08
5.3.70.0150.03712.08
5.3.60.0100.04512.07
5.3.50.0180.05112.00
5.3.40.0120.04712.00
5.3.30.0130.04511.95
5.3.20.0120.04011.72
5.3.10.0090.04111.68
5.3.00.0110.04711.67

preferences:
135.17 ms | 1394 KiB | 7 Q