3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "http://192.168.1.19/archive/2015-11-30/20151130-105559_9897323703-all.mp3"; $test2 = substr(strpos("archive", $test), $test); echo $test2;

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)
8.3.60.0100.01016.75
8.3.50.0170.00521.23
8.3.40.0090.00618.87
8.3.30.0070.00718.74
8.3.20.0040.00420.25
8.3.10.0080.00021.81
8.3.00.0050.00323.50
8.2.180.0030.01318.62
8.2.170.0110.00322.96
8.2.160.0130.00320.35
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00419.70
8.2.120.0040.00426.35
8.2.110.0030.00622.11
8.2.100.0040.00817.80
8.2.90.0000.00719.27
8.2.80.0030.00617.97
8.2.70.0100.00017.63
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0030.00622.31
8.2.30.0070.00019.34
8.2.20.0000.00717.80
8.2.10.0040.00418.05
8.2.00.0000.00817.91
8.1.280.0130.00725.92
8.1.270.0070.01120.25
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0100.01022.02
8.1.230.0070.00320.89
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0090.00018.25
8.1.160.0030.00520.59
8.1.150.0040.00418.72
8.1.140.0000.00819.44
8.1.130.0000.00717.58
8.1.120.0070.00017.43
8.1.110.0000.00717.26
8.1.100.0000.00817.39
8.1.90.0060.00317.35
8.1.80.0000.00717.39
8.1.70.0000.00717.40
8.1.60.0050.00317.39
8.1.50.0030.00517.43
8.1.40.0080.00017.58
8.1.30.0080.00017.63
8.1.20.0040.00417.71
8.1.10.0040.00417.52
8.1.00.0000.00717.54
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0000.00718.44
8.0.270.0000.00717.20
8.0.260.0000.00617.19
8.0.250.0000.00716.88
8.0.240.0040.00416.96
8.0.230.0000.00716.85
8.0.220.0000.00716.75
8.0.210.0030.00616.85
8.0.200.0040.00416.81
8.0.190.0030.00616.94
8.0.180.0000.00716.91
8.0.170.0080.00016.93
8.0.160.0000.00816.87
8.0.150.0040.00416.80
8.0.140.0090.00016.73
8.0.130.0000.00813.27
8.0.120.0040.00416.82
8.0.110.0040.00416.86
8.0.100.0000.00716.67
8.0.90.0040.00416.70
8.0.80.0060.00916.87
8.0.70.0040.00416.89
8.0.60.0040.00416.81
8.0.50.0020.00516.77
8.0.30.0060.01016.92
8.0.20.0080.01017.40
8.0.10.0040.00417.07
8.0.00.0120.00716.76
7.4.330.0030.00316.84
7.4.320.0000.00716.55
7.4.300.0050.00316.50
7.4.290.0040.00416.53
7.4.280.0080.00016.42
7.4.270.0000.00916.48
7.4.260.0000.00716.48
7.4.250.0040.00416.29
7.4.240.0030.00316.48
7.4.230.0000.00716.27
7.4.220.0070.01416.39
7.4.210.0140.00016.62
7.4.200.0030.00316.53
7.4.160.0160.00016.48
7.4.150.0080.01117.40
7.4.140.0140.00617.86
7.4.130.0030.02016.39
7.4.120.0100.01116.44
7.4.110.0120.00616.44
7.4.100.0110.00816.52
7.4.90.0090.00916.50
7.4.80.0160.00619.39
7.4.70.0030.01316.35
7.4.60.0100.00716.43
7.4.50.0100.00716.18
7.4.40.0040.01216.37
7.4.30.0040.01716.56
7.4.00.0110.00414.76
7.3.330.0000.00613.02
7.3.320.0050.00012.99
7.3.310.0000.00616.30
7.3.300.0030.00316.26
7.3.290.0070.01016.23
7.3.280.0040.01416.22
7.3.270.0110.00517.40
7.3.260.0140.00316.32
7.3.240.0080.01016.29
7.3.230.0180.00416.47
7.3.210.0130.00316.20
7.3.200.0080.00819.39
7.3.190.0070.01016.48
7.3.180.0060.00916.32
7.3.170.0100.00716.27
7.3.160.0110.01116.43
7.3.10.0070.00816.57
7.3.00.0080.00816.50
7.2.330.0180.00016.22
7.2.320.0070.01016.61
7.2.310.0000.02416.24
7.2.300.0140.00616.55
7.2.290.0070.01116.79
7.2.130.0070.00716.56
7.2.120.0110.00616.55
7.2.110.0120.00516.78
7.2.100.0080.00716.48
7.2.90.0110.01116.67
7.2.80.0040.00716.98
7.2.70.0110.00616.85
7.2.60.0090.00916.72
7.2.50.0050.01016.78
7.2.40.0090.00816.85
7.2.30.0140.00716.79
7.2.20.0140.00516.86
7.2.10.0110.00716.79
7.2.00.0090.00417.61
7.1.250.0080.00315.60
7.1.200.0030.00615.51
7.1.100.0070.00717.88
7.1.70.0000.00717.28
7.1.60.0170.00719.27
7.1.50.0000.01116.91
7.1.00.0030.07722.35
7.0.200.0000.00816.50
7.0.60.0030.03721.82
7.0.50.0030.07317.87
7.0.40.0070.04320.21
7.0.30.0630.04020.30
7.0.20.0470.07020.01
7.0.10.0030.08320.13
7.0.00.0170.07720.09
5.6.210.0100.04320.46
5.6.200.0170.05018.19
5.6.190.0070.08320.39
5.6.180.0270.04720.43
5.6.170.0330.06020.54
5.6.160.0100.08320.38
5.6.150.0070.04718.17
5.6.140.0070.06718.11
5.6.130.0130.07018.21
5.6.120.0030.08721.09
5.6.110.0070.07020.99
5.6.100.0130.07721.00
5.6.90.0100.07320.98
5.6.80.0100.08020.28
5.5.350.0000.04320.42
5.5.340.0070.04718.00
5.5.330.0030.04320.37
5.5.320.0470.04320.20
5.5.310.0230.03720.41
5.5.300.0170.07017.98
5.5.290.0070.08017.88
5.5.280.0070.04020.76
5.5.270.0070.03720.86
5.5.260.0170.06320.86
5.5.250.0100.08720.79
5.5.240.0070.07020.28

preferences:
53.43 ms | 401 KiB | 5 Q