3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/[^[:print:]]/u', 'x', "你"));

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.130.0050.00316.81
8.3.120.0120.00618.65
8.3.110.0120.00420.94
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0100.00016.63
8.3.70.0160.00316.75
8.3.60.0080.00818.27
8.3.50.0150.00322.16
8.3.40.0000.01518.97
8.3.30.0150.00418.82
8.3.20.0080.00020.35
8.3.10.0050.00320.65
8.3.00.0040.00420.57
8.2.250.0040.00418.31
8.2.240.0060.00317.34
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0100.00016.50
8.2.190.0090.00917.00
8.2.180.0150.00325.92
8.2.170.0100.00718.91
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0050.00224.66
8.2.130.0050.00319.73
8.2.120.0000.00826.35
8.2.110.0090.00019.22
8.2.100.0000.01117.91
8.2.90.0060.00319.82
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0050.00317.80
8.2.50.0040.00418.09
8.2.40.0000.00720.42
8.2.30.0080.00019.36
8.2.20.0030.00517.74
8.2.10.0000.00917.91
8.2.00.0030.00317.96
8.1.300.0130.00717.89
8.1.290.0040.00418.88
8.1.280.0090.00625.92
8.1.270.0040.01123.78
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0040.00422.00
8.1.230.0060.00620.90
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0030.00717.35
8.1.190.0060.00617.36
8.1.180.0000.00818.10
8.1.170.0050.00318.78
8.1.160.0000.00722.64
8.1.150.0040.00418.87
8.1.140.0070.00019.59
8.1.130.0030.00317.64
8.1.120.0040.00417.42
8.1.110.0060.00317.38
8.1.100.0060.00317.37
8.1.90.0000.00917.52
8.1.80.0050.00317.32
8.1.70.0070.00017.55
8.1.60.0050.00217.59
8.1.50.0000.00917.58
8.1.40.0080.00017.55
8.1.30.0060.00317.52
8.1.20.0000.00817.66
8.1.10.0070.00017.54
8.1.00.0050.00217.31
8.0.300.0000.00719.77
8.0.290.0040.00417.00
8.0.280.0000.00718.48
8.0.270.0000.00717.22
8.0.260.0000.00817.20
8.0.250.0030.00317.00
8.0.240.0040.00417.08
8.0.230.0000.00817.19
8.0.220.0000.00717.05
8.0.210.0080.00017.02
8.0.200.0000.00617.09
8.0.190.0030.00517.09
8.0.180.0040.00417.12
8.0.170.0040.00417.06
8.0.160.0040.00417.14
8.0.150.0000.00816.91
8.0.140.0000.00717.06
8.0.130.0030.00313.46
8.0.120.0000.00816.91
8.0.110.0040.00417.07
8.0.100.0030.00316.83
8.0.90.0000.00716.84
8.0.80.0080.00817.03
8.0.70.0070.00016.94
8.0.60.0040.00417.06
8.0.50.0040.00416.98
8.0.30.0140.00317.04
8.0.20.0100.00917.40
8.0.10.0030.00517.09
8.0.00.0070.01216.79
7.4.330.0000.00516.86
7.4.320.0060.00016.74
7.4.300.0000.00716.65
7.4.290.0040.00416.67
7.4.280.0000.00816.49
7.4.270.0000.00716.75
7.4.260.0080.00016.49
7.4.250.0050.00216.68
7.4.240.0000.00716.66
7.4.230.0030.00316.54
7.4.220.0070.01116.69
7.4.210.0030.01016.62
7.4.200.0030.00316.54
7.4.160.0160.00716.63
7.4.150.0140.01017.40
7.4.140.0060.01117.86
7.4.130.0110.00616.61
7.4.120.0090.00816.61
7.4.110.0090.00916.70
7.4.100.0120.00616.45
7.4.90.0100.00716.52
7.4.80.0080.00819.39
7.4.70.0150.00316.61
7.4.60.0070.01116.72
7.4.50.0100.00316.47
7.4.40.0130.00316.68
7.4.30.0130.00316.53
7.4.00.0080.00815.23
7.3.330.0050.00013.06
7.3.320.0000.00613.12
7.3.310.0060.00016.50
7.3.300.0000.00716.21
7.3.290.0070.00016.36
7.3.280.0100.00616.35
7.3.270.0100.00717.40
7.3.260.0120.00416.54
7.3.250.0100.01016.43
7.3.240.0180.00616.45
7.3.230.0030.01716.39
7.3.210.0070.01016.57
7.3.200.0130.00716.42
7.3.190.0000.01616.56
7.3.180.0070.01016.43
7.3.170.0060.01216.40
7.3.160.0130.00316.57
7.3.120.0080.00314.77
7.3.110.0110.00714.79
7.3.100.0070.01014.59
7.3.90.0040.01214.89
7.3.80.0000.01414.82
7.3.70.0070.00714.64
7.3.60.0040.01114.75
7.3.50.0080.00814.72
7.3.40.0070.00714.63
7.3.30.0040.01214.85
7.3.20.0000.01316.52
7.3.10.0120.00016.67
7.3.00.0060.00616.78
7.2.330.0140.00416.48
7.2.320.0130.01516.36
7.2.310.0070.01716.43
7.2.300.0090.00916.60
7.2.290.0070.01016.56
7.2.250.0070.01314.94
7.2.240.0130.00615.09
7.2.230.0060.00914.71
7.2.220.0030.00914.99
7.2.210.0040.01415.02
7.2.200.0130.00014.90
7.2.190.0100.00714.63
7.2.180.0030.01215.01
7.2.170.0030.00614.91
7.2.60.0070.00716.93
7.2.00.0080.00819.17
7.1.330.0030.00915.76
7.1.320.0060.00615.72
7.1.310.0000.01316.04
7.1.300.0050.00515.58
7.1.290.0040.00815.97
7.1.280.0110.00315.97
7.1.270.0000.01315.92
7.1.260.0100.00315.91
7.1.200.0000.00915.97
7.1.100.0050.00518.03
7.1.70.0030.00717.29
7.1.60.0070.01719.27
7.1.00.0030.07722.52
7.0.200.0030.00616.68
7.0.70.0070.07721.78
7.0.60.0000.08321.59
7.0.50.0000.08322.14
7.0.40.0030.05720.09
7.0.30.0030.08020.12
7.0.20.0070.08320.08
7.0.10.0030.08320.18
7.0.00.0100.05720.13
5.6.280.0030.07020.77
5.6.220.0070.04020.64
5.6.210.0030.06720.64
5.6.200.0030.08720.95
5.6.190.0100.07721.11
5.6.180.0070.08721.07
5.6.170.0070.08721.07
5.6.160.0000.09021.00
5.6.150.0100.08021.02
5.6.140.0070.09020.94
5.6.130.0130.07020.93
5.6.120.0070.04320.95
5.6.110.0100.07721.04
5.6.100.0070.08021.02
5.6.90.0070.07720.93
5.6.80.0100.06320.32
5.6.70.0030.07720.38
5.6.60.0000.05320.45
5.6.50.0030.08020.31
5.6.40.0000.08720.46
5.6.30.0070.07720.39
5.6.20.0070.07020.37
5.6.10.0030.07720.43
5.6.00.0130.07020.27
5.5.360.0030.08020.46
5.5.350.0000.04720.43
5.5.340.0070.08020.90
5.5.330.0230.06020.88
5.5.320.0130.07320.86
5.5.310.0000.08320.75
5.5.300.0030.04020.63
5.5.290.0100.07720.88
5.5.280.0000.05320.88
5.5.270.0100.07720.71
5.5.260.0070.05720.75
5.5.250.0000.08320.70
5.5.240.0000.08320.02
5.5.230.0130.07720.26
5.5.220.0070.06320.21
5.5.210.0000.04320.20
5.5.200.0030.08320.16
5.5.190.0000.07020.23
5.5.180.0070.08320.24
5.5.160.0070.07720.18
5.5.150.0100.06020.18
5.5.140.0100.05320.24
5.5.130.0030.08320.11
5.5.120.0000.07720.20
5.5.110.0000.08020.20
5.5.100.0030.08320.07
5.5.90.0070.07720.06
5.5.80.0030.05320.06
5.5.70.0000.08020.06
5.5.60.0070.05720.11
5.5.50.0030.07720.13
5.5.40.0000.07720.14
5.5.30.0000.07320.03
5.5.20.0100.07719.98
5.5.10.0030.07720.10
5.5.00.0000.08320.00

preferences:
67.26 ms | 403 KiB | 5 Q