3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = substr ( '10_:_Please confirm' , 0, strpos('10_:_Please confirm', '_:_') ) echo $pos;

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.380.0230.06018.75
5.4.370.0300.05018.50
5.4.360.0230.05318.75
5.4.350.0330.05018.56
5.4.340.0200.06018.84
5.4.320.0400.04718.83
5.4.310.0470.03718.80
5.4.300.0300.05318.55
5.4.290.0270.05318.78
5.4.280.0230.05718.83
5.4.270.0300.05018.52
5.4.260.0270.05718.58
5.4.250.0370.04718.61
5.4.240.0270.05318.55
5.4.230.0270.05018.77
5.4.220.0370.05718.73
5.4.210.0270.05718.74
5.4.200.0300.05316.80
5.4.190.0330.04718.49
5.4.180.0330.04718.72
5.4.170.0330.05018.79
5.4.160.0200.06318.54
5.4.150.0300.05318.69
5.4.140.0370.04316.32
5.4.130.0270.04716.30
5.4.120.0270.05016.27
5.4.110.0300.04716.40
5.4.100.0330.04716.29
5.4.90.0300.05316.18
5.4.80.0400.05016.30
5.4.70.0230.05716.16
5.4.60.0370.06316.41
5.4.50.0300.04316.14
5.4.40.0230.05316.23
5.4.30.0230.05316.21
5.4.20.0270.05016.29
5.4.10.0330.04716.24
5.4.00.0200.05715.86
5.3.290.0270.05314.64
5.3.280.0300.05014.67
5.3.270.0400.06014.60
5.3.260.0230.06014.70
5.3.250.0300.05314.61
5.3.240.0300.05014.68
5.3.230.0230.05314.58
5.3.220.0200.05314.60
5.3.210.0400.04014.48
5.3.200.0330.05014.66
5.3.190.0330.05314.55
5.3.180.0300.04714.54
5.3.170.0370.04714.57
5.3.160.0330.04714.46
5.3.150.0230.05714.52
5.3.140.0300.04314.66
5.3.130.0300.05014.49
5.3.120.0230.06014.46
5.3.110.0230.06314.55
5.3.100.0370.05714.14
5.3.90.0270.05014.11
5.3.80.0170.06314.11
5.3.70.0400.04013.97
5.3.60.0270.06013.90
5.3.50.0270.05013.87
5.3.40.0270.05313.93
5.3.30.0330.05014.00
5.3.20.0430.05713.79
5.3.10.0400.06313.60
5.3.00.0170.05713.62
5.2.170.0200.04311.11
5.2.160.0230.04011.18
5.2.150.0200.04711.14
5.2.140.0200.04311.11
5.2.130.0170.04711.23
5.2.120.0130.05011.08
5.2.110.0170.04311.07
5.2.100.0130.04711.16
5.2.90.0100.07011.06
5.2.80.0230.05711.10
5.2.70.0230.04011.05
5.2.60.0170.04711.05
5.2.50.0230.04711.05
5.2.40.0270.05010.91
5.2.30.0170.04310.95
5.2.20.0170.04311.02
5.2.10.0230.03310.90
5.2.00.0300.03710.74
5.1.60.0270.03010.13
5.1.50.0170.03310.02
5.1.40.0170.03310.05
5.1.30.0130.04010.29
5.1.20.0170.03710.39
5.1.10.0170.03310.09
5.1.00.0170.03310.09
5.0.50.0100.0278.52
5.0.40.0100.0278.55
5.0.30.0200.0378.24
5.0.20.0130.0238.22
5.0.10.0100.0278.19
5.0.00.0070.0478.27
4.4.90.0130.0176.88
4.4.80.0130.0176.88
4.4.70.0070.0306.88
4.4.60.0100.0206.88
4.4.50.0130.0176.88
4.4.40.0130.0306.88
4.4.30.0100.0206.88
4.4.20.0100.0236.88
4.4.10.0100.0206.88
4.4.00.0130.0406.88
4.3.110.0070.0236.88
4.3.100.0070.0236.88
4.3.90.0100.0206.88
4.3.80.0030.0406.88
4.3.70.0130.0306.88
4.3.60.0130.0276.88
4.3.50.0070.0276.88
4.3.40.0100.0376.88
4.3.30.0070.0206.88
4.3.20.0030.0236.88
4.3.10.0030.0236.88
4.3.00.0000.0237.57

preferences:
143.77 ms | 1394 KiB | 7 Q