3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonstr = <<<EOT { "myObject": { "foo":"bar", "foo2":"bar2" } } EOT; $parsed = json_decode($jsonstr); var_dump($parsed);

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.0040.01116.38
8.3.50.0040.01117.91
8.3.40.0150.00018.70
8.3.30.0040.01118.71
8.3.20.0000.00820.34
8.3.10.0060.00323.65
8.3.00.0050.00319.26
8.2.180.0190.00318.36
8.2.170.0120.00922.96
8.2.160.0060.00922.08
8.2.150.0040.00724.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0050.00220.65
8.2.110.0070.00422.08
8.2.100.0120.00017.85
8.2.90.0050.00318.22
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0000.01017.91
8.2.50.0050.00318.07
8.2.40.0000.00719.52
8.2.30.0080.00020.55
8.2.20.0040.00417.74
8.2.10.0040.00418.18
8.2.00.0040.00417.93
8.1.280.0070.00725.92
8.1.270.0040.00423.87
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00021.96
8.1.230.0040.00820.97
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00317.22
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0000.00818.48
8.1.160.0030.00321.95
8.1.150.0040.00418.74
8.1.140.0040.00419.51
8.1.130.0070.00017.70
8.1.120.0000.00817.38
8.1.110.0040.00417.27
8.1.100.0000.00717.29
8.1.90.0000.00717.39
8.1.80.0040.00417.44
8.1.70.0030.00317.31
8.1.60.0030.00517.41
8.1.50.0080.00017.36
8.1.40.0060.00317.45
8.1.30.0000.00817.44
8.1.20.0000.00717.58
8.1.10.0040.00417.42
8.1.00.0040.00417.42
8.0.300.0050.00220.04
8.0.290.0000.00716.75
8.0.280.0000.00718.36
8.0.270.0000.00717.20
8.0.260.0030.00317.12
8.0.250.0040.00416.99
8.0.240.0040.00416.96
8.0.230.0030.00316.88
8.0.220.0040.00416.90
8.0.210.0070.00016.90
8.0.200.0030.00316.93
8.0.190.0040.00416.85
8.0.180.0050.00216.96
8.0.170.0000.00716.90
8.0.160.0080.00016.96
8.0.150.0000.00716.85
8.0.140.0080.00016.84
8.0.130.0030.00313.36
8.0.120.0000.00816.84
8.0.110.0000.00816.88
8.0.100.0050.00216.82
8.0.90.0000.00716.79
8.0.80.0070.00716.96
8.0.70.0040.00416.79
8.0.60.0000.00716.94
8.0.50.0000.00716.83
8.0.30.0140.00516.84
8.0.20.0080.01017.40
8.0.10.0040.00416.91
8.0.00.0100.00816.60
7.4.330.0030.00315.08
7.4.320.0050.00316.44
7.4.300.0000.00616.40
7.4.290.0030.00316.38
7.4.280.0000.00716.51
7.4.270.0070.00016.54
7.4.260.0000.00716.43
7.4.250.0000.00716.36
7.4.240.0050.00216.53
7.4.230.0030.00316.38
7.4.220.0120.01616.54
7.4.210.0090.00716.61
7.4.200.0030.00316.34
7.4.160.0030.01216.27
7.4.150.0150.00317.40
7.4.140.0080.01117.86
7.4.130.0090.01116.38
7.4.120.0120.00816.38
7.4.110.0090.00616.41
7.4.100.0090.01316.53
7.4.90.0080.00816.59
7.4.80.0080.01019.39
7.4.70.0120.00416.52
7.4.60.0060.01016.39
7.4.50.0050.00316.35
7.4.40.0100.00916.56
7.4.30.0030.01916.29
7.4.10.0110.00714.81
7.4.00.0080.00814.82
7.3.330.0030.00312.96
7.3.320.0000.00513.05
7.3.310.0000.00716.34
7.3.300.0030.00316.23
7.3.290.0030.00316.25
7.3.280.0090.01016.24
7.3.270.0180.00317.40
7.3.260.0120.00416.25
7.3.240.0140.00316.49
7.3.230.0100.00716.39
7.3.210.0090.01216.23
7.3.200.0060.01016.12
7.3.190.0040.01816.40
7.3.180.0030.01416.34
7.3.170.0040.01216.27
7.3.160.0050.01116.25
7.3.130.0070.01014.76
7.3.120.0060.00714.66
7.3.110.0070.00914.66
7.3.100.0050.00714.53
7.3.90.0060.00714.53
7.3.80.0020.01014.71
7.3.70.0090.00614.67
7.3.60.0030.00914.69
7.3.50.0040.01114.64
7.3.40.0030.00714.63
7.3.30.0050.00714.77
7.3.20.0080.00516.42
7.3.10.0080.00816.48
7.3.00.0070.00616.47
7.2.330.0130.00416.41
7.2.320.0070.01716.37
7.2.310.0070.01016.39
7.2.300.0140.00316.47
7.2.290.0120.01216.41
7.2.260.0130.00315.07
7.2.250.0070.01115.08
7.2.240.0050.00814.81
7.2.230.0030.01114.88
7.2.220.0070.01014.88
7.2.210.0050.01014.93
7.2.200.0060.00914.78
7.2.190.0060.01114.97
7.2.180.0070.00914.85
7.2.170.0080.00714.79
7.2.160.0100.00514.76
7.2.150.0090.00616.74
7.2.140.0070.01016.70
7.2.130.0060.00816.78
7.2.120.0090.00816.75
7.2.110.0060.01116.67
7.2.100.0020.01516.74
7.2.90.0070.00716.67
7.2.80.0030.01216.71
7.2.70.0050.00916.88
7.2.60.0060.00816.69
7.2.50.0100.00716.65
7.2.40.0070.00916.82
7.2.30.0060.00716.77
7.2.20.0060.01016.69
7.2.10.0060.01016.85
7.2.00.0060.01017.18
7.1.330.0070.00515.74
7.1.320.0110.00315.71
7.1.310.0070.00415.54
7.1.300.0060.00815.55
7.1.290.0060.00815.73
7.1.280.0030.01115.83
7.1.270.0070.00615.57
7.1.260.0050.01015.75
7.1.250.0100.00615.60
7.1.240.0070.00715.56
7.1.230.0040.00715.57
7.1.220.0040.01115.69
7.1.210.0030.00615.80
7.1.200.0080.00515.81
7.1.190.0000.01315.80
7.1.180.0030.01015.72
7.1.170.0030.01015.73
7.1.160.0030.01415.81
7.1.150.0030.01015.77
7.1.140.0060.00915.53
7.1.130.0030.01015.72
7.1.120.0070.01015.62
7.1.110.0070.00415.89
7.1.100.0060.00716.93
7.1.90.0030.01015.75
7.1.80.0060.00315.89
7.1.70.0010.00916.55
7.1.60.0070.01117.49
7.1.50.0040.00916.27
7.1.40.0100.00615.44
7.1.30.0070.00715.59
7.1.20.0040.00515.77
7.1.10.0070.00715.67
7.1.00.0070.04119.07
7.0.330.0110.00715.49
7.0.320.0070.00715.46
7.0.310.0000.01215.54
7.0.300.0030.00915.22
7.0.290.0070.00315.30
7.0.280.0030.01015.29
7.0.270.0040.01115.38
7.0.260.0000.01415.55
7.0.250.0030.01215.38
7.0.240.0140.00015.55
7.0.230.0030.00915.45
7.0.220.0060.00915.52
7.0.210.0030.01015.34
7.0.200.0070.00815.07
7.0.190.0040.00415.34
7.0.180.0030.00615.17
7.0.170.0070.00715.35
7.0.160.0030.01015.26
7.0.150.0080.00814.98
7.0.140.0080.00615.24
7.0.130.0030.00615.26
7.0.120.0040.00415.28
7.0.110.0040.00815.45
7.0.100.0090.00615.26
7.0.90.0130.00315.41
7.0.80.0030.00715.21
7.0.70.0000.01515.42
7.0.60.0030.03117.59
7.0.50.0060.04516.60
7.0.40.0030.05316.64
7.0.30.0130.02316.74
7.0.20.0190.04016.76
7.0.10.0030.02616.80
7.0.00.0090.04716.71
5.6.400.0070.00714.36
5.6.390.0090.00614.14
5.6.380.0060.00614.43
5.6.370.0080.00314.34
5.6.360.0000.01614.19
5.6.350.0000.01614.21
5.6.340.0000.01714.42
5.6.330.0040.00714.21
5.6.320.0060.01014.19
5.6.310.0000.00914.51
5.6.300.0000.01314.45
5.6.290.0060.00614.10
5.6.280.0000.02217.44
5.6.270.0030.01014.41
5.6.260.0070.01014.05
5.6.250.0140.00314.13
5.6.240.0030.01313.96
5.6.230.0040.00814.44
5.6.220.0070.00714.15
5.6.210.0050.03417.54
5.6.200.0000.02816.24
5.6.190.0110.02017.56
5.6.180.0170.02717.45
5.6.170.0170.03617.33
5.6.160.0050.02517.34
5.6.150.0080.04316.24
5.6.140.0040.04116.17
5.6.130.0080.02316.13
5.6.120.0110.04317.65
5.6.110.0070.04517.42
5.6.100.0020.05217.70
5.6.90.0040.04617.79
5.6.80.0090.02417.40
5.6.70.0070.00713.98
5.6.60.0070.00714.30
5.6.50.0000.00813.97
5.6.40.0030.01014.07
5.6.30.0120.00014.29
5.6.20.0000.01414.08
5.6.10.0080.00414.29
5.6.00.0000.01414.04
5.5.380.0040.00814.09
5.5.370.0050.00313.89
5.5.360.0030.01213.92
5.5.350.0130.01917.42
5.5.340.0050.03016.02
5.5.330.0070.04117.08
5.5.320.0150.02217.15
5.5.310.0130.04217.18
5.5.300.0020.02616.12
5.5.290.0080.02516.06
5.5.280.0080.04317.36
5.5.270.0020.03917.46
5.5.260.0000.02917.51
5.5.250.0100.04017.45
5.5.240.0020.04317.08
5.5.230.0060.00613.86
5.5.220.0030.00714.10
5.5.210.0060.00313.99
5.5.200.0060.01013.86
5.5.190.0060.00614.20
5.5.180.0030.01213.72
5.5.170.0120.00013.99
5.5.160.0000.01513.87
5.5.150.0030.00614.20
5.5.140.0030.00914.10
5.5.130.0000.01314.21
5.5.120.0030.01013.88
5.5.110.0060.00314.09
5.5.100.0080.00013.95
5.5.90.0000.00913.96
5.5.80.0060.01214.00
5.5.70.0060.00613.79
5.5.60.0000.01414.07
5.5.50.0030.00713.84
5.5.40.0080.00013.84
5.5.30.0000.00813.82
5.5.20.0030.00513.84
5.5.10.0030.00914.22
5.5.00.0070.00714.03
5.4.450.0350.02615.70
5.4.440.0330.02815.72
5.4.430.0360.02515.71
5.4.420.0300.03215.69
5.4.410.0260.03315.48
5.4.400.0290.03015.38
5.4.390.0320.03015.43
5.4.380.0360.03715.53
5.4.370.0220.03315.44
5.4.360.0280.02815.58
5.4.350.0250.03915.45
5.4.340.0270.03015.54
5.4.330.0000.01311.95
5.4.320.0300.03015.60
5.4.310.0320.02715.38
5.4.300.0120.02615.55
5.4.290.0070.03415.55
5.4.280.0100.02815.44
5.4.270.0280.02815.55
5.4.260.0300.03315.52
5.4.250.0360.03115.36
5.4.240.0320.03215.58
5.4.230.0350.02315.36
5.4.220.0380.03815.47
5.4.210.0300.03115.56
5.4.200.0300.03015.44
5.4.190.0350.02515.46
5.4.180.0350.02715.52
5.4.170.0360.03215.36
5.4.160.0310.02515.58
5.4.150.0270.02915.61
5.4.140.0250.02814.15
5.4.130.0350.02514.12
5.4.120.0350.02514.19
5.4.110.0320.03614.08
5.4.100.0300.02814.08
5.4.90.0350.03014.21
5.4.80.0330.03814.19
5.4.70.0280.02514.00
5.4.60.0300.03014.20
5.4.50.0320.02714.07
5.4.40.0350.02714.24
5.4.30.0350.02914.23
5.4.20.0370.02814.15
5.4.10.0300.03014.21
5.4.00.0370.03013.79

preferences:
59.22 ms | 401 KiB | 5 Q