3v4l.org

run code in 300+ PHP versions simultaneously
<?php $crap = "\u200e\u206a\u200f\u200e\u202d\u206f\u200c\u206a\u202c\u202b\u200f\u206f\u202b\u206e\u206e\u202b\u206e\u202e\u206c\u202b\u206d\u200e\u202a\u206d\u200b\u206c\u206a\u202e\u206b\u200b\u200f\u200b\u202d\u202d\u206f\u206b\u200c\u206a\u206f\u206b\u202e"; $str = preg_replace('/(\x{200e}|\x{200f})/u', '', $str); echo $str;

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.00718.55
8.3.50.0070.01318.21
8.3.40.0100.01018.84
8.3.30.0190.00318.84
8.3.20.0110.01120.25
8.3.10.0030.00621.71
8.3.00.0030.00519.51
8.2.180.0090.00617.13
8.2.170.0120.00922.96
8.2.160.0130.00620.54
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00422.33
8.2.120.0040.00426.35
8.2.110.0030.00620.29
8.2.100.0100.00317.91
8.2.90.0030.00519.22
8.2.80.0000.00818.04
8.2.70.0080.00017.74
8.2.60.0000.00817.77
8.2.50.0080.00018.10
8.2.40.0030.00522.08
8.2.30.0040.00419.31
8.2.20.0030.00617.98
8.2.10.0000.00718.20
8.2.00.0040.00418.31
8.1.280.0200.00325.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0050.00320.83
8.1.230.0030.00917.71
8.1.220.0030.00517.74
8.1.210.0090.00018.77
8.1.200.0000.00917.48
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0090.00018.64
8.1.160.0000.00718.81
8.1.150.0000.00718.88
8.1.140.0030.00617.57
8.1.130.0040.00418.72
8.1.120.0080.00017.56
8.1.110.0040.00717.55
8.1.100.0000.01017.57
8.1.90.0040.00417.55
8.1.80.0040.00417.56
8.1.70.0000.00717.44
8.1.60.0050.00317.67
8.1.50.0040.00417.63
8.1.40.0100.00017.53
8.1.30.0040.00417.63
8.1.20.0060.00317.71
8.1.10.0040.00417.62
8.1.00.0030.00617.66
8.0.300.0000.00818.77
8.0.290.0030.00517.13
8.0.280.0030.00318.43
8.0.270.0050.00217.27
8.0.260.0030.00318.98
8.0.250.0070.00017.10
8.0.240.0030.00317.24
8.0.230.0040.00417.17
8.0.220.0030.00317.14
8.0.210.0000.00717.16
8.0.200.0070.00017.05
8.0.190.0030.00517.13
8.0.180.0040.00417.14
8.0.170.0040.00417.16
8.0.160.0050.00217.14
8.0.150.0030.00317.07
8.0.140.0000.00716.99
8.0.130.0030.00313.56
8.0.120.0050.00317.10
8.0.110.0040.00417.09
8.0.100.0040.00417.03
8.0.90.0000.00716.89
8.0.80.0130.01017.15
8.0.70.0000.00717.00
8.0.60.0040.00417.08
8.0.50.0050.00316.98
8.0.30.0160.00217.20
8.0.20.0110.00817.41
8.0.10.0030.00516.95
8.0.00.0080.01016.87
7.4.330.0000.00515.55
7.4.320.0060.00016.75
7.4.300.0000.00616.65
7.4.290.0070.00016.70
7.4.280.0030.00316.74
7.4.270.0000.00716.66
7.4.260.0080.00016.65
7.4.250.0000.00716.70
7.4.240.0040.00416.59
7.4.230.0070.00016.72
7.4.220.0040.00416.82
7.4.210.0090.00616.79
7.4.200.0030.00316.57
7.4.160.0080.01016.60
7.4.150.0060.01317.40
7.4.140.0100.00917.86
7.4.130.0120.00616.58
7.4.120.0110.01116.67
7.4.110.0120.00916.59
7.4.100.0130.00316.63
7.4.90.0080.00916.61
7.4.80.0080.00819.39
7.4.70.0090.00616.61
7.4.60.0070.01016.55
7.4.50.0040.00816.77
7.4.40.0080.00816.61
7.4.00.0020.01414.93
7.3.330.0000.00613.37
7.3.320.0030.00313.30
7.3.310.0030.00316.48
7.3.300.0070.00016.39
7.3.290.0100.00816.46
7.3.280.0030.01216.52
7.3.270.0030.01317.40
7.3.260.0120.00916.55
7.3.250.0110.00816.57
7.3.240.0120.01016.47
7.3.230.0110.00516.58
7.3.210.0050.01116.47
7.3.200.0150.00316.59
7.3.190.0100.00616.54
7.3.180.0120.00416.49
7.3.170.0090.01216.47
7.3.160.0100.00616.29
7.3.120.0120.00614.93
7.3.110.0090.00914.99
7.3.100.0090.00914.86
7.3.90.0040.00814.77
7.3.80.0090.00614.91
7.3.70.0040.01114.97
7.3.60.0040.00814.98
7.3.50.0090.00614.84
7.3.40.0000.01115.05
7.3.30.0040.01115.02
7.3.20.0040.01116.82
7.3.10.0040.00816.76
7.3.00.0100.00716.69
7.2.330.0110.00716.79
7.2.320.0100.00716.53
7.2.310.0110.01116.84
7.2.300.0070.01016.64
7.2.290.0110.00816.74
7.2.250.0120.00615.07
7.2.240.0040.01115.25
7.2.230.0030.01614.96
7.2.220.0090.00315.24
7.2.210.0030.00914.99
7.2.200.0070.00714.78
7.2.190.0070.01115.25
7.2.180.0030.01315.16
7.2.170.0030.01314.91
7.2.60.0040.00716.88
7.2.10.0340.01018.27
7.2.00.0180.01417.71
7.1.330.0030.01016.18
7.1.320.0050.00816.05
7.1.310.0070.00715.99
7.1.300.0030.00616.11
7.1.290.0070.00715.73
7.1.280.0130.00015.98
7.1.270.0000.01515.94
7.1.260.0040.01216.07
7.1.200.0070.00415.96
7.1.130.0190.01117.10
7.1.120.0220.00917.08
7.1.110.0300.00816.01
7.1.100.0220.00716.45
7.1.90.0300.01016.43
7.1.80.0220.00915.98
7.1.70.0220.00915.39
7.1.60.0450.01433.21
7.1.50.0370.00732.75
7.1.40.0270.01532.34
7.1.30.0390.00632.43
7.1.20.0370.00732.85
7.1.10.0280.00714.89
7.1.00.0200.01715.01

preferences:
66.42 ms | 401 KiB | 5 Q