3v4l.org

run code in 300+ PHP versions simultaneously
<?php $samplerequesturi = 'string(42) "{"ERROR_MSG":"Invalid path for user raol"}" '; $samplerequesturi = preg_replace('@^string\(\d{1,4}\)@', '', $samplerequesturi); var_dump($samplerequesturi); $js = json.decode($samplerequesturi); var_dump(js);

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.0000.01517.00
8.3.50.0120.00818.54
8.3.40.0060.01219.11
8.3.30.0130.00319.10
8.3.20.0040.00419.03
8.3.10.0060.00320.53
8.3.00.0040.00419.50
8.2.180.0060.00925.92
8.2.170.0030.01219.22
8.2.160.0140.00722.96
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0040.00419.04
8.2.110.0000.01021.06
8.2.100.0080.00418.03
8.2.90.0080.00019.39
8.2.80.0040.00419.22
8.2.70.0000.00817.87
8.2.60.0040.00417.91
8.2.50.0050.00318.07
8.2.40.0000.00818.22
8.2.30.0040.00718.10
8.2.20.0000.00919.63
8.2.10.0000.00717.96
8.2.00.0040.00417.90
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01020.81
8.1.230.0070.00420.89
8.1.220.0000.00817.74
8.1.210.0030.00619.02
8.1.200.0000.00917.47
8.1.190.0070.00017.65
8.1.180.0040.00418.10
8.1.170.0040.00418.63
8.1.160.0090.00018.98
8.1.150.0000.00818.82
8.1.140.0040.00417.47
8.1.130.0030.00517.85
8.1.120.0100.00017.58
8.1.110.0050.00317.50
8.1.100.0000.00717.48
8.1.90.0040.00417.49
8.1.80.0040.00417.62
8.1.70.0000.00617.48
8.1.60.0000.00817.61
8.1.50.0050.00317.50
8.1.40.0000.00717.68
8.1.30.0030.00517.66
8.1.20.0060.00317.68
8.1.10.0000.00817.60
8.1.00.0050.00217.61
8.0.300.0000.00820.04
8.0.290.0080.00016.75
8.0.280.0020.00518.46
8.0.270.0050.00317.19
8.0.260.0000.00817.02
8.0.250.0050.00217.20
8.0.240.0080.00317.02
8.0.230.0080.00017.05
8.0.220.0040.00417.00
8.0.210.0070.00017.14
8.0.200.0000.00617.11
8.0.190.0060.00317.07
8.0.180.0040.00417.13
8.0.170.0040.00417.14
8.0.160.0040.00417.05
8.0.150.0030.00517.05
8.0.140.0040.00417.11
8.0.130.0000.00613.47
8.0.120.0040.00417.00
8.0.110.0050.00216.96
8.0.100.0000.00817.04
8.0.90.0040.00417.05
8.0.80.0070.01317.15
8.0.70.0060.00317.13
8.0.60.0000.00717.17
8.0.50.0030.00616.94
8.0.30.0100.01317.32
8.0.20.0110.00817.36
8.0.10.0070.00017.26
8.0.00.0070.01216.80
7.4.330.0030.00313.10
7.4.320.0050.00216.73
7.4.300.0030.00316.74
7.4.290.0030.00316.66
7.4.280.0000.00916.71
7.4.270.0040.00416.82
7.4.260.0000.00513.43
7.4.250.0040.00416.78
7.4.240.0080.00016.84
7.4.230.0040.00416.91
7.4.220.0070.01116.90
7.4.210.0100.01016.79
7.4.200.0000.00716.79
7.4.190.0000.00716.86
7.4.160.0070.01016.57
7.4.150.0150.01016.80
7.4.140.0070.01016.58
7.4.130.0130.00416.55
7.4.120.0070.01016.86
7.4.110.0170.00016.68
7.4.100.0130.00416.68
7.4.90.0080.00816.73
7.4.80.0060.01219.39
7.4.70.0070.01016.72
7.4.60.0140.00316.69
7.4.50.0030.00616.89
7.4.40.0080.00216.40
7.4.30.0110.00716.79
7.4.00.0100.00615.17
7.3.330.0030.00313.14
7.3.320.0060.00013.28
7.3.310.0070.00016.48
7.3.300.0060.00016.43
7.3.290.0080.00816.44
7.3.280.0100.00516.45
7.3.270.0070.01016.65
7.3.260.0100.00716.52
7.3.250.0120.01016.60
7.3.240.0060.00916.58
7.3.230.0100.00716.64
7.3.210.0070.01116.68
7.3.200.0100.00716.45
7.3.190.0110.01016.61
7.3.180.0080.00816.56
7.3.170.0120.00916.63
7.3.160.0140.00716.34
7.3.120.0070.00915.13
7.3.110.0070.01015.00
7.3.100.0030.01014.96
7.3.90.0100.00315.05
7.3.80.0060.00314.96
7.3.70.0000.01414.91
7.3.60.0100.00515.08
7.3.50.0090.00314.91
7.3.40.0040.00814.82
7.3.30.0030.00614.65
7.3.20.0110.00616.65
7.3.10.0060.01216.61
7.3.00.0110.00816.61
7.2.330.0110.00616.71
7.2.320.0060.01016.79
7.2.310.0100.01316.89
7.2.300.0110.00716.53
7.2.290.0000.01716.84
7.2.250.0110.00815.07
7.2.240.0070.01415.04
7.2.230.0040.01115.14
7.2.220.0060.00615.12
7.2.210.0070.00315.16
7.2.200.0060.00914.89
7.2.190.0060.00615.11
7.2.180.0000.01514.91
7.2.170.0030.01315.27
7.2.130.0060.00716.91
7.2.120.0120.00616.55
7.2.110.0060.01216.63
7.2.100.0030.01016.49
7.2.90.0030.00916.66
7.2.80.0060.01116.57
7.2.70.0140.00316.92
7.2.60.0060.01016.97
7.2.50.0160.00316.93
7.2.40.0070.01116.93
7.2.30.0150.00316.91
7.2.20.0110.00716.65
7.2.10.0130.00616.95
7.2.00.0060.00818.36
7.1.330.0040.01115.97
7.1.320.0030.00616.09
7.1.310.0070.01015.95
7.1.300.0040.01215.98
7.1.290.0080.00416.03
7.1.280.0070.00715.80
7.1.270.0120.00315.75
7.1.260.0070.00715.84
7.1.250.0000.01415.65
7.1.200.0090.00315.95
7.1.100.0060.00618.23
7.1.70.0000.01017.35
7.1.60.0090.01519.31
7.1.50.0090.00917.25
7.1.00.0030.05022.41
7.0.200.0050.00216.75
7.0.140.0100.06722.07
7.0.120.0000.07722.08
7.0.60.0070.08019.75
7.0.50.0000.04317.93
7.0.40.0100.06720.14
7.0.30.0400.06320.23
7.0.20.0300.04020.21
7.0.10.0300.06720.11
7.0.00.0100.08020.34
5.6.280.0030.07320.89
5.6.210.0300.06020.51
5.6.200.0000.05318.16
5.6.190.0070.08320.57
5.6.180.0330.06720.58
5.6.170.0200.06320.42
5.6.160.0070.05020.48
5.6.150.0170.07018.16
5.6.140.0070.06718.18
5.6.130.0070.08718.22
5.6.120.0030.04720.98
5.6.110.0130.05320.97
5.6.100.0330.05720.99
5.6.90.0130.07020.87
5.6.80.0170.07320.47
5.6.70.0270.05720.49
5.5.350.0330.07320.44
5.5.340.0100.05017.91
5.5.330.0030.06320.22
5.5.320.0200.04020.15
5.5.310.0230.06020.12
5.5.300.0000.09018.00
5.5.290.0100.06717.95
5.5.280.0030.08720.88
5.5.270.0130.06720.89
5.5.260.0100.06720.66
5.5.250.0070.03720.67
5.5.240.0000.04020.13
5.4.450.4430.04319.24
5.4.440.0070.08019.48
5.4.430.1570.06319.45
5.4.420.3530.03719.40
5.4.410.3730.04719.12
5.4.400.0730.03719.17
5.4.390.1130.03019.17
5.4.380.2900.03719.16
5.4.370.2300.02719.06
5.4.360.2570.05019.18
5.4.350.2670.04019.20
5.4.340.2030.04319.26
5.4.320.0030.03719.15
5.4.310.0100.07719.20
5.4.300.4070.04019.17
5.4.290.4970.03319.13
5.4.280.4300.04719.02
5.4.270.4470.04318.92
5.4.260.3800.02318.86
5.4.250.3900.04019.08
5.4.240.4330.03319.16
5.4.230.4270.04019.07
5.4.220.4670.04319.12
5.4.210.4500.04019.16
5.4.200.4200.03319.15
5.4.190.4570.04019.15
5.4.180.4300.03319.08
5.4.170.4230.04319.00
5.4.160.4270.05019.14
5.4.150.4330.03319.23
5.4.140.3700.04016.38
5.4.130.3870.04016.42
5.4.120.4000.04016.44
5.4.110.3870.03316.45
5.4.100.3800.03016.31
5.4.90.3970.03316.57
5.4.80.4270.03316.45
5.4.70.4830.03316.19
5.4.60.3770.02716.38
5.4.50.4430.03316.13
5.4.40.4400.03716.23
5.4.30.3870.03716.54
5.4.20.4000.03316.29
5.4.10.4600.03716.20
5.4.00.4600.04015.77
5.3.290.0030.08314.56
5.3.280.4470.03714.54
5.3.270.4500.04314.50
5.3.260.3600.03714.53
5.3.250.4000.04014.42
5.3.240.4100.04014.54
5.3.230.4000.03014.52
5.3.220.3170.04314.65
5.3.210.3530.03714.50
5.3.200.4270.03714.57
5.3.190.3570.04314.48
5.3.180.3970.03714.43
5.3.170.4230.04014.50
5.3.160.4730.03714.35
5.3.150.4170.03714.54
5.3.140.4500.04014.37
5.3.130.4670.04314.36
5.3.120.3900.03714.46
5.3.110.4530.04714.47
5.3.100.4600.03313.96
5.3.90.3070.03713.95
5.3.80.4500.04014.03
5.3.70.3900.03713.98
5.3.60.3470.04314.02
5.3.50.4070.03313.89
5.3.40.3970.04313.73
5.3.30.4200.03713.84
5.3.20.5070.04313.64
5.3.10.4630.03013.49
5.3.00.4500.03713.57
5.2.170.2900.02711.08
5.2.160.2870.02311.00
5.2.150.3400.03011.07
5.2.140.2400.03311.13
5.2.130.4100.02711.07
5.2.120.3700.02711.00
5.2.110.3900.04011.04
5.2.100.3800.03311.11
5.2.90.3800.03011.09
5.2.80.3570.02711.08
5.2.70.2970.03011.07
5.2.60.3270.02711.05
5.2.50.1830.03310.95
5.2.40.1430.03010.89
5.2.30.2130.03310.91
5.2.20.1430.02310.89
5.2.10.1300.02310.86
5.2.00.1770.02710.71
5.1.60.1570.02310.01
5.1.50.1900.0239.97
5.1.40.1570.0209.84
5.1.30.1770.02310.37
5.1.20.1600.02010.35
5.1.10.1400.01710.01
5.1.00.1230.02010.08
5.0.50.0900.0178.45
5.0.40.0930.0238.30
5.0.30.0630.0308.22
5.0.20.0700.0138.16
5.0.10.0430.0208.25
5.0.00.0530.0308.12
4.4.90.1700.0135.83
4.4.80.0730.0205.90
4.4.70.1100.0205.86
4.4.60.1100.0135.81
4.4.50.0700.0175.82
4.4.40.1000.0235.77
4.4.30.0630.0135.89
4.4.20.0300.0135.95
4.4.10.0500.0175.92
4.4.00.1230.0235.87
4.3.110.0530.0135.75
4.3.100.0430.0135.82
4.3.90.0570.0175.71
4.3.80.0630.0235.67
4.3.70.0470.0135.78
4.3.60.1270.0135.80
4.3.50.1630.0135.69
4.3.40.1300.0275.69
4.3.30.0830.0234.86
4.3.20.0830.0204.86
4.3.10.0800.0204.86
4.3.00.0700.0174.86

preferences:
51.91 ms | 400 KiB | 5 Q