3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'планироватТься'; //$text = preg_replace('/[^А-ЯЁ\w\d\t\r\n[:blank:][:punct:]]+/ui', '', $text); $json = json_encode(['text' => $text], JSON_UNESCAPED_UNICODE); var_dump($text); var_dump($json); echo $json; $text = json_decode($json); var_dump($text);

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.70.0110.01118.30
8.3.60.0090.00918.55
8.3.50.0140.00518.18
8.3.40.0100.00718.89
8.3.30.0110.00418.73
8.3.20.0050.00320.16
8.3.10.0050.00321.58
8.3.00.0060.00319.23
8.2.190.0120.00316.63
8.2.180.0140.00318.29
8.2.170.0110.00722.96
8.2.160.0060.01020.49
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00422.11
8.2.120.0050.00326.35
8.2.110.0030.00620.96
8.2.100.0080.00418.03
8.2.90.0080.00019.22
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0030.00518.04
8.2.50.0030.00618.22
8.2.40.0060.00320.36
8.2.30.0000.00719.29
8.2.20.0060.00318.15
8.2.10.0000.00718.16
8.2.00.0040.00418.38
8.1.280.0100.01325.92
8.1.270.0040.00420.28
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0050.00322.65
8.1.230.0000.01117.89
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0030.00617.10
8.1.180.0000.00718.10
8.1.170.0030.00618.52
8.1.160.0000.00718.82
8.1.150.0000.00718.84
8.1.140.0040.00417.63
8.1.130.0030.00318.72
8.1.120.0070.00417.39
8.1.110.0070.00217.34
8.1.100.0040.00417.36
8.1.90.0020.00517.38
8.1.80.0040.00417.29
8.1.70.0030.00317.28
8.1.60.0030.00617.38
8.1.50.0060.00317.47
8.1.40.0040.00417.43
8.1.30.0080.00017.55
8.1.20.0000.00817.57
8.1.10.0000.00717.55
8.1.00.0000.00817.51
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.43
8.0.270.0000.00817.23
8.0.260.0000.00818.93
8.0.250.0000.00716.91
8.0.240.0070.00016.91
8.0.230.0000.00716.81
8.0.220.0080.00016.72
8.0.210.0000.00716.71
8.0.200.0060.00016.75
8.0.190.0030.00516.84
8.0.180.0040.00416.89
8.0.170.0070.00416.78
8.0.160.0000.00716.88
8.0.150.0000.00716.84
8.0.140.0000.00716.76
8.0.130.0050.00013.18
8.0.120.0040.00416.81
8.0.110.0050.00216.66
8.0.100.0030.00516.82
8.0.90.0050.00216.75
8.0.80.0050.01016.77
8.0.70.0070.00016.68
8.0.60.0030.00316.78
8.0.50.0070.00016.61
8.0.30.0120.00716.97
8.0.20.0100.01017.40
8.0.10.0040.00416.91
8.0.00.0110.00816.63
7.4.330.0050.00015.55
7.4.320.0040.00416.45
7.4.300.0000.00616.52
7.4.290.0070.00016.42
7.4.280.0040.00316.48
7.4.270.0060.00016.45
7.4.260.0060.00316.43
7.4.250.0000.00916.53
7.4.240.0060.00316.52
7.4.230.0070.00016.55
7.4.220.0000.00816.50
7.4.210.0060.00916.39
7.4.200.0030.00316.27
7.4.160.0100.01316.46
7.4.150.0080.01317.40
7.4.140.0100.00917.86
7.4.130.0130.01016.50
7.4.120.0140.00616.47
7.4.110.0060.01116.32
7.4.100.0120.00616.59
7.4.90.0070.01016.42
7.4.80.0070.01119.39
7.4.70.0060.01616.27
7.4.60.0060.00916.57
7.4.50.0030.01016.09
7.4.40.0150.00016.54
7.4.00.0090.00715.09
7.3.330.0030.00313.02
7.3.320.0000.00512.97
7.3.310.0040.00416.21
7.3.300.0070.00016.23
7.3.290.0060.01016.27
7.3.280.0080.00716.32
7.3.270.0090.01217.40
7.3.260.0130.00816.37
7.3.250.0090.00816.44
7.3.240.0120.00816.32
7.3.230.0130.00416.26
7.3.210.0120.00816.25
7.3.200.0120.00616.39
7.3.190.0090.00916.44
7.3.180.0120.00316.45
7.3.170.0030.01316.59
7.3.160.0140.00416.52
7.3.120.0100.01014.41
7.3.110.0040.01514.82
7.3.100.0100.00714.71
7.3.90.0070.00714.67
7.3.80.0060.00914.48
7.3.70.0030.01314.75
7.3.60.0000.01914.76
7.3.50.0070.00314.46
7.3.40.0070.00714.95
7.3.30.0040.01114.92
7.3.20.0050.01016.72
7.3.10.0060.00316.59
7.3.00.0130.00316.77
7.2.330.0090.00916.41
7.2.320.0090.01116.28
7.2.310.0030.01516.41
7.2.300.0060.01016.67
7.2.290.0120.00416.32
7.2.250.0070.01315.14
7.2.240.0000.02115.19
7.2.230.0090.00914.72
7.2.220.0030.00615.08
7.2.210.0030.00614.89
7.2.200.0100.00614.93
7.2.190.0030.00614.77
7.2.180.0090.00914.74
7.2.170.0040.00815.04
7.2.60.0070.00716.68
7.2.10.0500.01317.61
7.2.00.0420.01517.88
7.1.330.0060.01015.98
7.1.320.0060.00615.74
7.1.310.0000.01015.82
7.1.300.0030.00915.84
7.1.290.0070.01015.67
7.1.280.0040.00815.81
7.1.270.0060.00915.68
7.1.260.0030.00715.55
7.1.200.0030.01015.74
7.1.130.0480.00717.09
7.1.120.0470.00316.50
7.1.110.0120.02116.04
7.1.100.0380.00616.00
7.1.90.0600.01316.02
7.1.80.0420.00615.98
7.1.70.0360.00715.13
7.1.60.0420.01633.11
7.1.50.0450.01433.00
7.1.40.0460.01332.59
7.1.30.0560.01232.47
7.1.20.0650.01032.63
7.1.10.0030.01314.63
7.1.00.0360.01014.74

preferences:
22.91 ms | 401 KiB | 5 Q