3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a='1'; $b='2'; $c = json_ecode(array($a,$b)); $d = json_decode($c); print_r($d);

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.40.0160.00018.55
8.3.30.0090.00618.77
8.3.20.0060.00920.20
8.3.10.0040.00421.69
8.3.00.0040.00419.69
8.2.170.0040.01122.96
8.2.160.0100.00720.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00317.63
8.2.110.0030.00720.35
8.2.100.0090.00317.75
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0050.00317.79
8.2.50.0050.00318.07
8.2.40.0040.00419.52
8.2.30.0070.00020.48
8.2.20.0030.00517.53
8.2.10.0050.00317.95
8.2.00.0000.00717.95
8.1.270.0060.00623.91
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0130.00323.97
8.1.230.0090.00317.42
8.1.220.0060.00317.78
8.1.210.0070.00318.77
8.1.200.0000.00917.23
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0030.00518.52
8.1.160.0000.00722.00
8.1.150.0000.00718.82
8.1.140.0000.00817.34
8.1.130.0030.00317.62
8.1.120.0000.00817.38
8.1.110.0040.00417.33
8.1.100.0070.00017.43
8.1.90.0030.00317.27
8.1.80.0060.00317.41
8.1.70.0030.00317.36
8.1.60.0000.00817.53
8.1.50.0030.00717.41
8.1.40.0030.00517.52
8.1.30.0090.00017.68
8.1.20.0030.00517.68
8.1.10.0000.00717.46
8.1.00.0080.00017.46
8.0.300.0020.00518.77
8.0.290.0080.00016.75
8.0.280.0040.00418.21
8.0.270.0040.00417.23
8.0.260.0030.00317.15
8.0.250.0040.00416.96
8.0.240.0090.00016.84
8.0.230.0030.00616.91
8.0.220.0060.00316.86
8.0.210.0030.00616.77
8.0.200.0030.00316.79
8.0.190.0050.00516.93
8.0.180.0000.00716.93
8.0.170.0000.00816.74
8.0.160.0080.00016.86
8.0.150.0030.00316.84
8.0.140.0000.00916.82
8.0.130.0000.00613.29
8.0.120.0000.00816.79
8.0.110.0000.00716.91
8.0.100.0000.00716.70
8.0.90.0040.00416.78
8.0.80.0030.01216.87
8.0.70.0030.00516.74
8.0.60.0000.00816.90
8.0.50.0000.00716.77
8.0.30.0070.00916.95
8.0.20.0140.00517.40
8.0.10.0040.00416.88
8.0.00.0110.00816.81
7.4.330.0030.00315.08
7.4.320.0000.00616.52
7.4.300.0070.00016.57
7.4.290.0040.00716.50
7.4.280.0040.00416.40
7.4.270.0030.00316.57
7.4.260.0000.00816.59
7.4.250.0040.00416.52
7.4.240.0020.00516.49
7.4.230.0030.00316.33
7.4.220.0100.01116.34
7.4.210.0110.00316.54
7.4.200.0030.00316.63
7.4.160.0130.00916.43
7.4.150.0080.01517.40
7.4.140.0110.01117.86
7.4.130.0120.00716.50
7.4.120.0080.01316.43
7.4.110.0100.00716.43
7.4.100.0130.00316.51
7.4.90.0070.01116.54
7.4.80.0130.01319.39
7.4.70.0000.01616.55
7.4.60.0090.00616.55
7.4.50.0090.00016.59
7.4.40.0100.00716.51
7.4.30.0100.01016.65
7.4.00.0060.00315.04
7.3.330.0030.00313.15
7.3.320.0030.00313.23
7.3.310.0000.00716.24
7.3.300.0030.00316.23
7.3.290.0050.00916.19
7.3.280.0100.00816.27
7.3.270.0100.00617.40
7.3.260.0170.00716.31
7.3.250.0110.00816.24
7.3.240.0160.00016.32
7.3.230.0030.01416.39
7.3.210.0090.01116.18
7.3.200.0130.00316.30
7.3.190.0100.00716.19
7.3.180.0100.00716.27
7.3.170.0090.00916.52
7.3.160.0120.00316.21
7.2.330.0070.01016.18
7.2.320.0060.01216.60
7.2.310.0060.01216.28
7.2.300.0110.00516.57
7.2.290.0070.01016.45
7.2.110.0160.00416.34
7.2.60.0140.00016.70
7.2.00.0030.01319.02
7.1.200.0120.00415.54
7.1.100.0030.00717.94
7.1.70.0030.01017.16
7.1.60.0070.01719.19
7.1.50.0100.01316.62
7.1.00.0000.08022.33
7.0.200.0070.00016.66
7.0.60.0200.07319.74
7.0.50.0030.09017.66
7.0.40.0130.08020.27
7.0.30.0430.07020.20
7.0.20.0370.08020.02
7.0.10.0070.04720.09
7.0.00.0030.04020.20
5.6.280.0000.06720.91
5.6.210.0000.08320.50
5.6.200.0070.08718.21
5.6.190.0000.04720.39
5.6.180.0570.06720.56
5.6.170.0300.07720.62
5.6.160.0100.08020.48
5.6.150.0070.08718.12
5.6.140.0100.06318.21
5.6.130.0100.08018.14
5.6.120.0130.08021.08
5.6.110.0070.07321.02
5.6.100.0030.04021.00
5.6.90.0130.07720.96
5.6.80.0030.03720.39
5.5.350.0030.06020.49
5.5.340.0000.04317.97
5.5.330.0070.05020.02
5.5.320.0300.05720.21
5.5.310.0270.06320.20
5.5.300.0100.07718.02
5.5.290.0070.03717.98
5.5.280.0030.04720.87
5.5.270.0070.08020.72
5.5.260.0070.04320.88
5.5.250.0100.06720.57
5.5.240.0230.07320.31
5.4.450.0270.05319.32
5.4.440.0200.07719.63
5.4.430.0230.07719.50
5.4.420.0430.05319.13
5.4.410.0230.07019.46
5.4.400.0170.07319.31
5.4.390.0130.08319.28
5.4.380.0230.07019.19
5.4.370.0200.06019.16
5.4.360.0130.05718.77
5.4.350.0170.05319.23
5.4.340.0200.06018.92
5.4.320.0130.06019.30
5.4.310.0200.04719.25
5.4.300.0130.06019.21
5.4.290.0200.04319.30
5.4.280.0200.05319.12
5.4.270.0370.06018.91
5.4.260.0130.06019.26
5.4.250.0200.06719.21
5.4.240.0100.06019.27
5.4.230.0270.04319.14
5.4.220.0130.08019.30
5.4.210.0070.06019.29
5.4.200.0100.05719.12
5.4.190.0070.06019.14
5.4.180.0130.05719.27
5.4.170.0200.07018.98
5.4.160.0170.07018.97
5.4.150.0230.05319.16
5.4.140.0330.04016.38
5.4.130.0200.05716.18
5.4.120.0330.03716.49
5.4.110.0100.06016.47
5.4.100.0170.06716.36
5.4.90.0230.06316.51
5.4.80.0170.07016.44
5.4.70.0170.03316.37
5.4.60.0130.04316.37
5.4.50.0030.03316.31
5.4.40.0270.04016.35
5.4.30.0330.04016.18
5.4.20.0230.03316.18

preferences:
38.37 ms | 400 KiB | 5 Q