3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j = json_decode('{"0":{"name":"Configuration postes","content":"2 PCs","price":"80"},"1":{"name":"Configuration réseau","content":"","price":"40"}}'); var_dump($j); print_r($j);

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.0100.00316.38
8.3.50.0100.00721.93
8.3.40.0090.00618.48
8.3.30.0070.01418.88
8.3.20.0040.00420.21
8.3.10.0060.00323.39
8.3.00.0030.00619.13
8.2.180.0090.00618.25
8.2.170.0090.00622.96
8.2.160.0110.00720.39
8.2.150.0080.01224.18
8.2.140.0000.00824.66
8.2.130.0060.00926.16
8.2.120.0050.00322.18
8.2.110.0060.00320.28
8.2.100.0040.00817.78
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0040.00418.04
8.2.50.0030.00618.07
8.2.40.0000.00918.09
8.2.30.0000.00817.86
8.2.20.0080.00017.47
8.2.10.0040.00417.91
8.2.00.0030.00617.63
8.1.280.0140.00025.92
8.1.270.0080.00022.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00322.18
8.1.230.0040.00723.93
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0090.00017.22
8.1.190.0050.00317.17
8.1.180.0030.00618.10
8.1.170.0050.00318.72
8.1.160.0000.00721.86
8.1.150.0040.00418.52
8.1.140.0050.00317.27
8.1.130.0030.00317.88
8.1.120.0000.00717.41
8.1.110.0070.00017.40
8.1.100.0030.00517.31
8.1.90.0000.00817.38
8.1.80.0000.00717.30
8.1.70.0040.00417.32
8.1.60.0000.00717.50
8.1.50.0060.00317.42
8.1.40.0000.00817.37
8.1.30.0050.00317.39
8.1.20.0080.00017.44
8.1.10.0040.00417.44
8.1.00.0000.00917.40
8.0.300.0040.00418.77
8.0.290.0060.00317.04
8.0.280.0070.00018.30
8.0.270.0000.00717.12
8.0.260.0000.00617.17
8.0.250.0030.00316.84
8.0.240.0000.00616.93
8.0.230.0000.00716.85
8.0.220.0020.00516.73
8.0.210.0000.00716.79
8.0.200.0060.00016.89
8.0.190.0070.00016.76
8.0.180.0040.00416.75
8.0.170.0070.00016.88
8.0.160.0040.00416.70
8.0.150.0080.00016.89
8.0.140.0030.00316.81
8.0.130.0000.00713.29
8.0.120.0040.00416.67
8.0.110.0050.00316.71
8.0.100.0000.00716.77
8.0.90.0000.00716.70
8.0.80.0040.01216.82
8.0.70.0040.00416.65
8.0.60.0030.00516.78
8.0.50.0070.00016.83
8.0.30.0100.01217.01
8.0.20.0110.00917.40
8.0.10.0000.00716.74
8.0.00.0120.00916.69
7.4.330.0000.00515.09
7.4.320.0040.00416.54
7.4.300.0030.00316.53
7.4.290.0040.00416.55
7.4.280.0000.00716.50
7.4.270.0030.00316.42
7.4.260.0030.00316.34
7.4.250.0040.00416.39
7.4.240.0040.00416.47
7.4.230.0070.00016.60
7.4.220.0100.01316.48
7.4.210.0070.00916.47
7.4.200.0000.00716.38
7.4.190.0050.00216.52
7.4.160.0040.01116.38
7.4.150.0150.00817.40
7.4.140.0100.00917.86
7.4.130.0130.00716.41
7.4.120.0070.01016.35
7.4.110.0070.01116.51
7.4.100.0130.00416.28
7.4.90.0100.00616.38
7.4.80.0120.00619.39
7.4.70.0070.01116.51
7.4.60.0070.01016.36
7.4.50.0040.00416.22
7.4.40.0030.01422.77
7.4.30.0060.00916.46
7.4.00.0000.01514.99
7.3.330.0000.00612.89
7.3.320.0060.00013.05
7.3.310.0040.00416.10
7.3.300.0040.00416.13
7.3.290.0030.01616.13
7.3.280.0100.00716.10
7.3.270.0000.01717.40
7.3.260.0040.01216.13
7.3.250.0150.00616.39
7.3.240.0170.00716.23
7.3.230.0150.00916.39
7.3.210.0060.01716.46
7.3.200.0040.01819.39
7.3.190.0040.01716.20
7.3.180.0150.00316.06
7.3.170.0060.01216.30
7.3.160.0070.01016.43
7.3.120.0040.00814.52
7.2.330.0040.01416.51
7.2.320.0030.01416.16
7.2.310.0100.01716.57
7.2.300.0100.01416.20
7.2.290.0070.01116.24
7.2.60.0030.01016.80
7.2.00.0100.00319.32
7.1.200.0040.00715.64
7.1.100.0070.00717.98
7.1.70.0030.01216.74
7.1.60.0000.01219.33
7.1.50.0120.00616.65
7.1.00.0070.07322.37
7.0.200.0230.00314.53
7.0.140.0030.06721.93
7.0.60.0030.08719.97
7.0.50.0130.03317.89
7.0.40.0100.08320.23
7.0.30.0230.06320.19
7.0.20.0100.07320.21
7.0.10.0070.07320.21
7.0.00.0000.04320.18
5.6.280.0130.06320.79
5.6.210.0170.06720.51
5.6.200.0070.04718.11
5.6.190.0130.08720.41
5.6.180.0170.08720.41
5.6.170.0230.07320.41
5.6.160.0070.04320.52
5.6.150.0070.08018.18
5.6.140.0000.04318.22
5.6.130.0170.06718.21
5.6.120.0100.09020.99
5.6.110.0130.05720.97
5.6.100.0030.07021.08
5.6.90.0070.05021.07
5.6.80.0100.04320.39
5.5.350.4300.03320.43
5.5.340.0070.06317.98
5.5.330.0070.04020.23
5.5.320.0300.07020.28
5.5.310.0230.05720.30
5.5.300.0070.05717.94
5.5.290.0070.04017.90
5.5.280.0130.04320.80
5.5.270.0030.04720.86
5.5.260.0030.04720.79
5.5.250.0070.08720.58
5.5.240.0130.06320.03
5.4.450.0330.05719.14
5.4.440.0470.04019.41
5.4.430.0370.03719.11
5.4.420.0400.03719.41
5.4.410.0330.03719.33
5.4.400.0370.03719.16
5.4.390.0430.06719.25
5.4.380.0300.04019.08
5.4.370.0470.03019.13
5.4.360.0330.03719.13
5.4.350.0300.04319.09
5.4.340.0270.04319.20
5.4.320.0270.04318.88
5.4.310.0300.04318.81
5.4.300.0300.04018.91
5.4.290.0430.06719.25
5.4.280.0330.04719.13
5.4.270.0330.04019.09
5.4.260.0430.04019.08
5.4.250.0400.03018.92
5.4.240.0400.03319.23
5.4.230.0330.04019.13
5.4.220.0330.03719.21
5.4.210.0400.03318.82
5.4.200.0400.03319.21
5.4.190.0470.02719.07
5.4.180.0330.04319.12
5.4.170.0370.03719.22
5.4.160.0500.06319.07
5.4.150.0300.05019.08
5.4.140.0370.04016.27
5.4.130.0330.03716.28
5.4.120.0370.06716.54
5.4.110.0430.06016.39
5.4.100.0330.04316.22
5.4.90.0330.03716.22
5.4.80.0430.03016.43
5.4.70.0400.03316.34
5.4.60.0300.04016.37
5.4.50.0470.03316.34
5.4.40.0500.03016.38
5.4.30.0370.03316.40
5.4.20.0370.04316.45
5.4.10.0370.03716.46
5.4.00.0470.06015.78
5.3.290.0470.02714.52
5.3.280.0300.04014.68
5.3.270.0470.03714.44
5.3.260.0400.04014.65
5.3.250.0430.03714.43
5.3.240.0370.03314.70
5.3.230.0300.04314.44
5.3.220.0370.04014.40
5.3.210.0370.03314.44
5.3.200.0370.03714.44
5.3.190.0330.04014.61
5.3.180.0530.05014.43
5.3.170.0400.04314.50
5.3.160.0430.03014.42
5.3.150.0300.04314.65
5.3.140.0370.03714.49
5.3.130.0570.02714.39
5.3.120.0370.03714.52
5.3.110.0330.04014.59
5.3.100.0370.04013.96
5.3.90.0330.04013.84
5.3.80.0430.03013.87
5.3.70.0400.03313.93
5.3.60.0470.06313.86
5.3.50.0400.03313.93
5.3.40.0430.03013.85
5.3.30.0370.03313.76
5.3.20.0430.03713.64
5.3.10.0370.03313.64
5.3.00.0470.03313.51
5.2.170.0400.05011.57
5.2.160.0330.03711.57
5.2.150.0300.02711.57
5.2.140.0270.03711.57
5.2.130.0300.04011.57
5.2.120.0330.03011.57
5.2.110.0330.03311.57
5.2.100.0230.03311.57
5.2.90.0230.03311.57
5.2.80.0470.02011.57
5.2.70.0400.05011.57
5.2.60.0370.02311.57
5.2.50.0400.04311.57
5.2.40.0300.02311.57
5.2.30.0170.03311.57
5.2.20.0170.03311.57
5.2.10.0300.04011.57
5.2.00.0200.03011.57
5.1.60.0270.02011.57
5.1.50.0200.02711.57
5.1.40.0200.02711.57
5.1.30.0270.05311.57
5.1.20.0230.03011.57
5.1.10.0200.02711.57
5.1.00.0270.02311.57
5.0.50.0100.02711.57
5.0.40.0170.02011.57
5.0.30.0130.05311.57
5.0.20.0130.02011.57
5.0.10.0170.01711.57
5.0.00.0130.03011.57
4.4.90.0170.01311.57
4.4.80.0130.02311.57
4.4.70.0100.02011.57
4.4.60.0100.01711.57
4.4.50.0100.02011.57
4.4.40.0130.02311.57
4.4.30.0100.02011.57
4.4.20.0100.01711.57
4.4.10.0100.01711.57
4.4.00.0100.02711.57
4.3.110.0100.01711.57
4.3.100.0130.01711.57
4.3.90.0130.01711.57
4.3.80.0130.02311.57
4.3.70.0100.01711.57
4.3.60.0200.02011.57
4.3.50.0170.01711.57
4.3.40.0100.02711.57
4.3.30.0100.01311.57
4.3.20.0030.01711.57
4.3.10.0070.01711.57
4.3.00.0030.02011.57

preferences:
53.38 ms | 401 KiB | 5 Q