3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode(json_encode(['a' => 'aa', 'b' => '12'])));

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.0240.00616.25
8.3.50.0170.00821.93
8.3.40.0070.00718.48
8.3.30.0100.00318.45
8.3.20.0080.00019.98
8.3.10.0040.00423.61
8.3.00.0000.00819.72
8.2.180.0070.00716.38
8.2.170.0100.01022.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00721.18
8.2.120.0080.00026.35
8.2.110.0060.00319.33
8.2.100.0060.00617.66
8.2.90.0050.00318.96
8.2.80.0040.00417.97
8.2.70.0050.00517.38
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0070.00319.16
8.2.30.0030.00520.67
8.2.20.0070.00017.47
8.2.10.0050.00317.86
8.2.00.0040.00417.83
8.1.280.0090.00625.92
8.1.270.0030.00622.14
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0000.00920.97
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.00
8.1.190.0040.00817.11
8.1.180.0000.00818.10
8.1.170.0050.00318.50
8.1.160.0050.00320.59
8.1.150.0000.00718.74
8.1.140.0000.00819.45
8.1.130.0030.00317.61
8.1.120.0030.00517.23
8.1.110.0000.00817.28
8.1.100.0040.00417.36
8.1.90.0070.00017.21
8.1.80.0040.00417.20
8.1.70.0030.00317.20
8.1.60.0040.00417.43
8.1.50.0080.00017.34
8.1.40.0080.00017.40
8.1.30.0040.00417.48
8.1.20.0000.00817.53
8.1.10.0060.00317.44
8.1.00.0040.00417.30
8.0.300.0020.00518.77
8.0.290.0000.00716.63
8.0.280.0070.00018.30
8.0.270.0070.00017.04
8.0.260.0060.00017.04
8.0.250.0000.00716.84
8.0.240.0050.00216.75
8.0.230.0030.00316.79
8.0.220.0000.00816.77
8.0.210.0040.00416.74
8.0.200.0030.00316.80
8.0.190.0000.00816.81
8.0.180.0040.00416.79
8.0.170.0040.00416.75
8.0.160.0000.00816.68
8.0.150.0020.00516.59
8.0.140.0040.00416.68
8.0.130.0050.00013.14
8.0.120.0040.00416.69
8.0.110.0000.00816.66
8.0.100.0070.00016.62
8.0.90.0000.00716.77
8.0.80.0060.00916.77
8.0.70.0040.00416.52
8.0.60.0080.00016.63
8.0.50.0050.00216.73
8.0.30.0060.01216.94
8.0.20.0120.00717.40
8.0.10.0000.00716.70
8.0.00.0090.00816.57
7.4.330.0000.00616.67
7.4.320.0030.00316.46
7.4.300.0070.00016.28
7.4.290.0030.00316.45
7.4.280.0040.00416.25
7.4.270.0030.00316.38
7.4.260.0070.00016.44
7.4.250.0000.00716.46
7.4.240.0020.00516.38
7.4.230.0000.00716.47
7.4.220.0130.00616.45
7.4.210.0060.00916.56
7.4.200.0070.00016.52
7.4.160.0090.00616.37
7.4.150.0070.01117.40
7.4.140.0110.01417.86
7.4.130.0080.00916.30
7.4.120.0120.00516.35
7.4.110.0040.01216.30
7.4.100.0150.00616.46
7.4.90.0060.01116.21
7.4.80.0130.01019.39
7.4.70.0140.00316.42
7.4.60.0110.00616.38
7.4.50.0030.01016.40
7.4.40.0080.00816.49
7.4.30.0100.00716.25
7.4.00.0060.00614.45
7.3.330.0050.00012.96
7.3.320.0000.00513.04
7.3.310.0040.00416.08
7.3.300.0030.00316.12
7.3.290.0110.00516.11
7.3.280.0100.00816.13
7.3.270.0060.01317.40
7.3.260.0170.00716.23
7.3.250.0090.01016.22
7.3.240.0130.00716.17
7.3.230.0070.01016.39
7.3.210.0130.00316.38
7.3.200.0100.00716.34
7.3.190.0120.00616.19
7.3.180.0130.00416.27
7.3.170.0110.00916.27
7.3.160.0090.00616.17
7.2.330.0060.01516.52
7.2.320.0120.00616.18
7.2.310.0160.00616.47
7.2.300.0060.01016.41
7.2.290.0070.01016.30
7.2.60.0090.00316.71
7.2.00.0030.01018.93
7.1.200.0060.00315.39
7.1.100.0040.00718.21
7.1.70.0020.00516.90
7.1.60.0090.01919.50
7.1.50.0060.01616.98
7.1.00.0000.07722.33
7.0.200.0470.00314.48
7.0.90.0130.06719.89
7.0.80.0070.05319.92
7.0.70.0570.04719.97
7.0.60.0630.06719.91
7.0.50.0730.07320.32
7.0.40.0200.06320.14
7.0.30.0030.05720.08
7.0.20.0070.08320.18
7.0.10.0130.07320.04
7.0.00.0100.07320.06
5.6.280.0070.03321.07
5.6.240.0070.08320.68
5.6.230.0130.07020.48
5.6.220.0130.07320.73
5.6.210.0070.07720.68
5.6.200.0170.07320.93
5.6.190.0070.08321.11
5.6.180.0070.04021.07
5.6.170.0030.06321.00
5.6.160.0000.08321.16
5.6.150.0100.08321.11
5.6.140.0070.08320.92
5.6.130.0070.08021.17
5.6.120.0100.05720.95
5.6.110.0070.05020.94
5.6.100.0130.06321.15
5.6.90.0000.09021.01
5.6.80.0070.07720.42
5.6.70.0100.07720.48
5.6.60.0170.06720.37
5.6.50.0030.07020.41
5.6.40.0070.04020.45
5.6.30.0100.07720.46
5.6.20.0000.05720.32
5.6.10.0100.07320.33
5.6.00.0200.06320.38
5.5.380.0000.05320.34
5.5.370.0130.08020.37
5.5.360.0100.08020.33
5.5.350.0070.07320.41
5.5.340.0070.08020.88
5.5.330.0100.07720.72
5.5.320.0070.08020.93
5.5.310.0000.04720.78
5.5.300.0030.08320.90
5.5.290.0130.07320.82
5.5.280.0100.08320.91
5.5.270.0130.07720.91
5.5.260.0100.07320.87
5.5.250.0000.05720.43
5.5.240.0030.06320.11
5.5.230.0030.07720.24
5.5.220.0070.05020.16
5.5.210.0130.06720.10
5.5.200.0130.06320.26
5.5.190.0200.06720.07
5.5.180.0100.06720.22
5.5.160.0070.07020.20
5.5.150.0030.08020.16
5.5.140.0100.05720.09
5.5.130.0100.07020.17
5.5.120.0070.04319.98
5.5.110.0100.04720.07
5.5.100.0030.04320.09
5.5.90.0130.03020.10
5.5.80.0030.04720.00
5.5.70.0030.07020.05
5.5.60.0130.07719.92
5.5.50.0000.07720.07
5.5.40.0070.07720.14
5.5.30.0100.04020.13
5.5.20.0100.07719.92
5.5.10.0070.08020.04
5.5.00.0100.07320.11

preferences:
54.78 ms | 401 KiB | 5 Q