3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ 'iPhone 7 plus - space grey (New)', 'iPhone6 plus, brand new, (Used)', 'iPhone 5 ( black)', ]; var_export(preg_replace('~ ?[-,(].*~', '', $strings));

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.5.00.0130.00819.91
8.4.150.0020.00014.05
8.4.140.0140.00917.38
8.4.130.0060.00218.75
8.4.120.0120.00824.16
8.4.110.0050.00418.59
8.4.100.0100.01118.82
8.4.90.0090.01120.81
8.4.80.0110.00918.90
8.4.70.0030.00518.02
8.4.60.0090.01020.40
8.4.50.0120.00919.72
8.4.40.0060.01019.58
8.4.30.0100.01020.48
8.4.20.0090.00319.07
8.4.10.0030.00617.94
8.3.280.0130.00718.44
8.3.270.0100.01216.69
8.3.260.0070.00116.66
8.3.250.0140.00518.88
8.3.240.0100.00916.88
8.3.230.0080.01016.54
8.3.220.0110.00718.72
8.3.210.0090.00916.69
8.3.200.0070.00216.45
8.3.190.0140.00617.18
8.3.180.0090.00916.62
8.3.170.0070.00318.70
8.3.160.0070.00316.71
8.3.150.0090.00918.84
8.3.140.0030.00516.58
8.3.130.0080.01118.65
8.3.120.0030.00618.66
8.3.110.0040.00420.94
8.3.100.0120.00616.75
8.3.90.0030.00616.56
8.3.80.0090.00016.50
8.3.70.0090.00918.68
8.3.60.0150.00618.43
8.3.50.0050.01118.15
8.3.40.0220.00018.96
8.3.30.0070.00718.67
8.3.20.0050.00322.48
8.3.10.0050.00322.09
8.3.00.0040.00420.77
8.2.290.0100.00920.69
8.2.280.0080.00718.45
8.2.270.0000.00817.16
8.2.260.0040.00416.83
8.2.250.0030.00617.03
8.2.240.0150.00416.93
8.2.230.0090.00022.58
8.2.220.0030.00624.06
8.2.210.0070.01126.77
8.2.200.0090.00016.50
8.2.190.0070.01116.63
8.2.180.0060.00918.43
8.2.170.0070.00722.96
8.2.160.0030.01022.31
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0050.00319.82
8.2.110.0000.00920.93
8.2.100.0000.01120.41
8.2.90.0000.00818.03
8.2.80.0060.00319.31
8.2.70.0030.00517.80
8.2.60.0040.00418.22
8.2.50.0060.00318.10
8.2.40.0030.00619.30
8.2.30.0000.00719.13
8.2.20.0000.00717.94
8.2.10.0040.00419.16
8.2.00.0030.00519.20
8.1.330.0090.00821.66
8.1.320.0130.00616.59
8.1.310.0080.00016.68
8.1.300.0040.01418.61
8.1.290.0060.00318.88
8.1.280.0150.00025.92
8.1.270.0040.00420.70
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0000.01217.54
8.1.230.0140.00019.04
8.1.220.0040.00417.74
8.1.210.0030.00718.77
8.1.200.0050.00817.23
8.1.190.0080.00017.22
8.1.180.0080.00018.10
8.1.170.0060.00320.96
8.1.160.0050.00218.89
8.1.150.0070.00018.89
8.1.140.0030.00520.15
8.1.130.0040.00420.15
8.1.120.0000.00717.56
8.1.110.0020.00517.54
8.1.100.0070.00017.53
8.1.90.0060.00317.36
8.1.80.0040.00417.45
8.1.70.0030.00317.51
8.1.60.0000.00817.66
8.1.50.0000.00817.62
8.1.40.0000.00817.59
8.1.30.0040.00417.62
8.1.20.0030.00617.64
8.1.10.0050.00317.55
8.1.00.0070.00017.57
8.0.300.0030.00619.84
8.0.290.0040.00416.63
8.0.280.0050.00318.28
8.0.270.0000.00717.08
8.0.260.0050.00320.01
8.0.250.0100.00017.05
8.0.240.0000.00717.02
8.0.230.0040.00417.07
8.0.220.0000.00716.96
8.0.210.0000.00717.01
8.0.200.0050.00317.02
8.0.190.0000.00717.09
8.0.180.0080.00016.83
8.0.170.0050.00316.87
8.0.160.0070.00016.96
8.0.150.0080.00016.82
8.0.140.0070.00016.94
8.0.130.0060.00013.38
8.0.120.0040.00416.89
8.0.110.0000.00816.86
8.0.100.0000.00717.08
8.0.90.0040.00417.09
8.0.80.0050.00916.83
8.0.70.0000.00717.02
8.0.60.0040.00416.87
8.0.50.0000.00716.86
8.0.30.0120.00917.22
8.0.20.0150.00417.10
8.0.10.0050.00217.07
8.0.00.0090.00916.77
7.4.330.0030.00315.55
7.4.320.0030.00316.71
7.4.300.0030.00316.62
7.4.290.0000.00716.58
7.4.280.0050.00316.58
7.4.270.0000.00716.74
7.4.260.0000.00513.41
7.4.250.0030.00316.71
7.4.240.0020.00616.77
7.4.230.0070.00016.57
7.4.220.0020.00516.67
7.4.210.0070.00716.74
7.4.200.0000.00716.79
7.4.130.0150.00616.52
7.4.120.0030.01716.60
7.4.110.0140.00316.47
7.4.100.0100.01016.60
7.4.90.0170.00016.70
7.4.80.0120.00619.39
7.4.70.0000.01716.66
7.4.60.0130.00316.75
7.4.50.0040.01516.66
7.4.40.0140.00316.58
7.4.10.0090.00915.05
7.4.00.0050.01115.05
7.3.330.0030.00316.30
7.3.320.0030.00313.27
7.3.310.0040.00416.42
7.3.300.0070.00016.18
7.3.290.0080.00516.25
7.3.280.0030.01116.36
7.3.260.0150.00516.36
7.3.240.0080.00916.61
7.3.230.0140.01016.22
7.3.210.0100.01416.70
7.3.200.0160.00416.26
7.3.190.0130.00316.60
7.3.180.0060.00916.38
7.3.170.0110.00516.77
7.3.160.0130.00816.75
7.3.130.0040.01514.82
7.3.120.0120.00714.83
7.3.110.0050.00915.06
7.3.100.0060.01114.80
7.3.90.0080.00614.84
7.3.80.0090.00514.71
7.3.70.0080.00614.71
7.3.60.0060.00914.84
7.3.50.0050.01114.83
7.3.40.0050.00814.74
7.3.30.0080.00714.74
7.3.20.0080.00715.76
7.3.10.0070.00715.80
7.3.00.0090.00415.68
7.2.330.0060.01216.61
7.2.320.0130.01016.57
7.2.310.0070.01116.55
7.2.300.0080.01116.67
7.2.290.0100.00716.63
7.2.260.0030.01615.03
7.2.250.0050.01514.97
7.2.240.0030.01214.98
7.2.230.0080.00814.89
7.2.220.0080.00815.07
7.2.210.0070.00714.94
7.2.200.0090.00514.95
7.2.190.0060.01014.91
7.2.180.0080.00914.98
7.2.170.0050.00914.99
7.2.160.0110.00414.96
7.2.150.0070.00915.81
7.2.140.0090.00615.89
7.2.130.0060.00815.91
7.2.120.0080.00916.04
7.2.110.0090.00615.84
7.2.100.0070.00715.99
7.2.90.0120.00416.04
7.2.80.0040.01015.87
7.2.70.0080.00816.01
7.2.60.0030.01216.00
7.2.50.0070.00915.96
7.2.40.0080.01015.93
7.2.30.0080.00916.04
7.2.20.0060.01016.04
7.2.10.0100.00715.91
7.2.00.0080.00615.94
7.1.330.0050.01015.94
7.1.320.0060.00815.00
7.1.310.0070.00714.98
7.1.300.0090.00714.87
7.1.290.0050.01114.91
7.1.280.0060.00714.84
7.1.270.0070.00714.93
7.1.260.0050.00814.96
7.1.250.0060.00814.89
7.1.240.0090.00415.81
7.1.230.0040.00915.98
7.1.220.0040.00915.63
7.1.210.0080.00515.98
7.1.200.0040.01115.94
7.1.190.0100.00315.89
7.1.180.0060.00815.76
7.1.170.0070.00715.90
7.1.160.0020.01415.97
7.1.150.0020.00916.07
7.1.140.0070.00915.90
7.1.130.0100.00715.86
7.1.120.0070.00715.85
7.1.110.0030.01115.79
7.1.100.0070.00615.76
7.1.90.0050.00815.78
7.1.80.0040.00715.82
7.1.70.0100.00315.95
7.1.60.0050.01015.84
7.1.50.0110.00415.87
7.1.40.0070.00715.90
7.1.30.0050.01015.96
7.1.20.0100.00415.76
7.1.10.0050.00815.84
7.1.00.0080.00415.83

preferences:
40.13 ms | 403 KiB | 5 Q