3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'prefix.column alias'; $pos = strpos ($str, '.'); $posr = strrpos ($str, ' '); echo substr ($str, $pos + 1, $posr - $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)
8.3.60.0070.00716.24
8.3.50.0110.00418.30
8.3.40.0090.00618.55
8.3.30.0040.01118.69
8.3.20.0080.00019.02
8.3.10.0040.00423.70
8.3.00.0000.00720.90
8.2.180.0140.00716.63
8.2.170.0100.00722.96
8.2.160.0030.01020.38
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00019.83
8.2.120.0040.00426.35
8.2.110.0090.00020.98
8.2.100.0040.00717.91
8.2.90.0090.00017.75
8.2.80.0050.00219.41
8.2.70.0000.00817.93
8.2.60.0090.00018.22
8.2.50.0040.00418.10
8.2.40.0000.00820.32
8.2.30.0040.00419.30
8.2.20.0070.00018.11
8.2.10.0070.00018.11
8.2.00.0040.00417.72
8.1.280.0170.00325.92
8.1.270.0080.00022.06
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00323.98
8.1.230.0070.00722.68
8.1.220.0090.00017.79
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0040.00417.40
8.1.180.0080.00018.10
8.1.170.0000.00818.56
8.1.160.0000.00818.94
8.1.150.0000.00720.17
8.1.140.0060.00319.51
8.1.130.0050.00317.74
8.1.120.0040.00417.45
8.1.110.0040.00417.33
8.1.100.0040.00417.27
8.1.90.0000.00817.27
8.1.80.0040.00417.42
8.1.70.0070.00017.34
8.1.60.0000.00817.45
8.1.50.0000.00817.47
8.1.40.0030.00617.50
8.1.30.0000.00817.59
8.1.20.0050.00217.57
8.1.10.0040.00417.41
8.1.00.0080.00017.42
8.0.300.0040.00419.65
8.0.290.0040.00416.75
8.0.280.0000.00718.34
8.0.270.0030.00317.25
8.0.260.0040.00417.30
8.0.250.0000.00816.99
8.0.240.0070.00016.84
8.0.230.0030.00616.95
8.0.220.0000.00716.71
8.0.210.0000.00616.78
8.0.200.0000.00616.88
8.0.190.0040.00416.79
8.0.180.0000.00716.77
8.0.170.0000.00716.83
8.0.160.0000.00716.81
8.0.150.0040.00416.68
8.0.140.0000.00716.71
8.0.130.0070.00013.29
8.0.120.0040.00416.79
8.0.110.0070.00016.72
8.0.100.0000.00716.94
8.0.90.0040.00416.68
8.0.80.0100.01016.79
8.0.70.0050.00316.68
8.0.60.0040.00416.80
8.0.50.0040.00416.77
8.0.30.0100.00716.98
8.0.20.0100.00817.40
8.0.10.0000.00716.89
8.0.00.0090.00916.96
7.4.330.0020.00215.55
7.4.320.0030.00316.31
7.4.300.0050.00216.53
7.4.290.0000.00616.33
7.4.280.0000.00816.56
7.4.270.0000.00716.52
7.4.260.0000.00716.44
7.4.250.0000.00716.52
7.4.240.0000.00716.42
7.4.230.0000.00716.54
7.4.220.0100.01016.40
7.4.210.0030.01316.64
7.4.200.0040.00416.47
7.4.160.0100.00616.46
7.4.150.0150.00317.40
7.4.140.0060.01117.86
7.4.130.0100.00616.27
7.4.120.0040.01316.39
7.4.110.0060.00916.43
7.4.100.0160.00316.57
7.4.90.0080.01316.55
7.4.80.0080.00819.39
7.4.70.0100.01016.61
7.4.60.0120.00616.40
7.4.50.0000.01016.47
7.4.40.0100.00616.31
7.4.30.0110.00516.37
7.4.00.0100.00715.13
7.3.330.0050.00013.12
7.3.320.0000.00513.00
7.3.310.0060.00016.26
7.3.300.0030.00316.15
7.3.290.0110.00416.23
7.3.280.0100.00716.21
7.3.270.0110.00617.40
7.3.260.0120.00516.37
7.3.250.0090.01016.34
7.3.240.0040.01616.38
7.3.230.0110.00616.45
7.3.210.0140.00316.31
7.3.200.0090.00916.38
7.3.190.0060.01616.31
7.3.180.0030.01216.28
7.3.170.0140.00316.14
7.3.160.0120.00616.41
7.3.10.0030.00916.46
7.3.00.0060.00616.31
7.2.330.0110.00716.41
7.2.320.0120.00616.36
7.2.310.0140.00316.38
7.2.300.0100.00716.56
7.2.290.0150.00616.48
7.2.130.0070.01016.70
7.2.120.0060.01016.70
7.2.110.0070.01017.06
7.2.100.0070.00316.75
7.2.90.0090.00616.91
7.2.80.0070.00316.98
7.2.70.0100.00617.02
7.2.60.0020.01416.84
7.2.50.0070.00616.86
7.2.40.0030.00816.69
7.2.30.0100.00316.89
7.2.20.0080.00416.84
7.2.10.0000.01416.90
7.2.00.0000.01416.95
7.1.250.0060.00315.69
7.1.200.0000.01215.49
7.1.70.0000.00817.14
7.1.60.0100.00017.13
7.1.00.0000.08022.48
7.0.200.0320.00714.67
7.0.130.0100.05722.00
7.0.120.0100.07722.15
7.0.110.0070.07322.10
7.0.100.0100.06322.07
7.0.90.0070.08722.20
7.0.80.0030.08322.16
7.0.70.0070.06322.09
7.0.60.0070.07721.95
7.0.50.0130.05722.15
7.0.40.0100.05322.06
7.0.30.0130.06722.02
7.0.20.0170.05722.13
7.0.10.0070.05721.96
7.0.00.0070.05722.03
5.6.280.0030.06321.09
5.6.270.0100.06020.98
5.6.260.0100.07021.03
5.6.250.0100.05721.08
5.6.240.0170.05321.13
5.6.230.0070.08021.14
5.6.220.0200.06321.08
5.6.210.0070.08320.97
5.6.200.0070.06020.89
5.6.190.0100.06020.71
5.6.180.0070.05721.07
5.6.170.0030.06321.05
5.6.160.0130.05020.99
5.6.150.0070.06021.07
5.6.140.0100.06021.01
5.6.130.0070.06021.04
5.6.120.0100.07020.76
5.6.110.0000.08020.76
5.6.100.0070.05721.06
5.6.90.0000.06021.01
5.6.80.0070.05720.26
5.6.70.0130.04720.28
5.6.60.0030.06020.44
5.6.50.0170.04020.25
5.6.40.0170.04320.23
5.6.30.0130.04720.41
5.6.20.0130.05320.30
5.6.10.0070.05020.41
5.6.00.0030.06020.31

preferences:
70.17 ms | 401 KiB | 5 Q