3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = array( '123' => array('data' => array( array( 'id' => '2', 'description' => 'Single-player' ), array( 'id' => '1', 'description' => 'Multi-player' ), array( 'id' => '9', 'description' => 'Co-op' ), array( 'id' => '22', 'description' => 'Steam Achievements' ), array( 'id' => '28', 'description' => 'Full controller support' ) )), '456' => array('data' => array( array( 'id' => '21', 'description' => 'Downloadable Content' ) )), ); print_r($json);

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.0070.01016.48
8.3.50.0110.00521.92
8.3.40.0040.01118.42
8.3.30.0070.00718.97
8.3.20.0070.00020.09
8.3.10.0030.00621.77
8.3.00.0030.00617.55
8.2.180.0120.00918.18
8.2.170.0030.01218.91
8.2.160.0110.00422.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.90
8.2.110.0030.00622.11
8.2.100.0080.00419.51
8.2.90.0040.00419.25
8.2.80.0050.00317.97
8.2.70.0030.00517.63
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0030.00617.91
8.2.30.0040.00417.99
8.2.20.0050.00317.64
8.2.10.0070.00017.95
8.2.00.0060.00317.48
8.1.280.0030.01225.92
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.87
8.1.230.0080.00418.94
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00617.23
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0000.00718.59
8.1.160.0070.00021.85
8.1.150.0040.00418.71
8.1.140.0080.00017.28
8.1.130.0040.00417.76
8.1.120.0030.00417.29
8.1.110.0040.00417.27
8.1.100.0000.00717.23
8.1.90.0000.00717.41
8.1.80.0070.00017.43
8.1.70.0000.00717.32
8.1.60.0050.00317.44
8.1.50.0040.00417.44
8.1.40.0030.00617.50
8.1.30.0040.00417.42
8.1.20.0050.00217.56
8.1.10.0040.00417.38
8.1.00.0000.00817.37
8.0.300.0080.00018.77
8.0.290.0070.00016.58
8.0.280.0030.00318.36
8.0.270.0040.00417.17
8.0.260.0030.00317.18
8.0.250.0040.00416.78
8.0.240.0040.00416.86
8.0.230.0050.00216.89
8.0.220.0030.00316.85
8.0.210.0000.00716.64
8.0.200.0000.00716.74
8.0.190.0000.00816.77
8.0.180.0040.00416.83
8.0.170.0090.00016.79
8.0.160.0040.00416.70
8.0.150.0040.00416.72
8.0.140.0030.00316.81
8.0.130.0080.00013.20
8.0.120.0000.00716.69
8.0.110.0030.00516.70
8.0.100.0000.00716.92
8.0.90.0040.00416.75
8.0.80.0110.00416.79
8.0.70.0000.00716.81
8.0.60.0000.00816.86
8.0.50.0000.00716.68
8.0.30.0090.00916.88
8.0.20.0060.01517.40
8.0.10.0050.00216.79
8.0.00.0130.00816.73
7.4.330.0050.00015.00
7.4.320.0030.00316.41
7.4.300.0060.00016.32
7.4.290.0030.00516.43
7.4.280.0040.00416.41
7.4.270.0000.00816.54
7.4.260.0000.00716.33
7.4.250.0050.00216.49
7.4.240.0040.00316.50
7.4.230.0070.00016.51
7.4.220.0070.01116.52
7.4.210.0100.00416.61
7.4.200.0000.00716.40
7.4.160.0090.00616.41
7.4.150.0090.01317.40
7.4.140.0110.00817.86
7.4.130.0100.01016.45
7.4.120.0080.01016.43
7.4.110.0060.01216.23
7.4.100.0100.01416.43
7.4.90.0090.00916.44
7.4.80.0080.00819.39
7.4.70.0080.00816.38
7.4.60.0120.00916.26
7.4.50.0040.00416.32
7.4.40.0140.00316.36
7.4.30.0150.00016.34
7.4.00.0090.00614.77
7.3.330.0000.00612.96
7.3.320.0050.00013.04
7.3.310.0000.00616.12
7.3.300.0030.00316.11
7.3.290.0030.01116.15
7.3.280.0110.00616.13
7.3.270.0140.00317.40
7.3.260.0030.01316.52
7.3.250.0080.00816.21
7.3.240.0040.01416.20
7.3.230.0040.01216.39
7.3.210.0070.01016.20
7.3.200.0080.00819.39
7.3.190.0030.01816.40
7.3.180.0110.00416.24
7.3.170.0090.01216.27
7.3.160.0100.01016.20
7.3.120.0040.00714.72
7.3.00.0060.00616.73
7.2.330.0090.00916.39
7.2.320.0070.01016.52
7.2.310.0110.00516.41
7.2.300.0070.01016.38
7.2.290.0160.00316.52
7.2.130.0090.00616.64
7.2.120.0040.01116.57
7.2.110.0060.01016.57
7.2.100.0000.01116.79
7.2.90.0030.00716.84
7.2.80.0030.01416.77
7.2.70.0030.01416.77
7.2.60.0070.00816.56
7.2.50.0040.00416.56
7.2.40.0030.00716.40
7.2.30.0070.00316.79
7.2.20.0000.01016.85
7.2.10.0030.01016.63
7.2.00.0040.00917.87
7.1.250.0060.00615.75
7.1.240.0100.00315.65
7.1.230.0070.00715.77
7.1.220.0070.00715.79
7.1.210.0060.00615.78
7.1.200.0030.00715.63
7.1.190.0000.00815.59
7.1.180.0060.00615.39
7.1.170.0030.01015.80
7.1.160.0080.00315.64
7.1.150.0070.00715.72
7.1.140.0040.00715.70
7.1.130.0110.00315.47
7.1.120.0040.00715.56
7.1.110.0000.01415.84
7.1.100.0100.00316.84
7.1.90.0030.00915.59
7.1.80.0070.00715.63
7.1.70.0000.01116.46
7.1.60.0090.00917.42
7.1.50.0030.01016.13
7.1.40.0030.00615.51
7.1.30.0120.00015.48
7.1.20.0070.00715.74
7.1.10.0060.00315.49
7.1.00.0080.03719.14
7.0.330.0060.00614.96
7.0.320.0070.00415.51
7.0.310.0040.01115.33
7.0.300.0030.00515.31
7.0.290.0000.01615.35
7.0.280.0080.00415.45
7.0.270.0030.00715.24
7.0.260.0100.00315.50
7.0.250.0100.00015.29
7.0.240.0080.00315.26
7.0.230.0110.00315.19
7.0.220.0040.00815.42
7.0.210.0090.00014.95
7.0.200.0050.00816.10
7.0.190.0000.01415.42
7.0.180.0000.00815.40
7.0.170.0100.00715.22
7.0.160.0030.01015.40
7.0.150.0060.00315.25
7.0.140.0030.04218.61
7.0.130.0070.00715.07
7.0.120.0050.03218.71
7.0.110.0060.04618.71
7.0.100.0110.03618.61
7.0.90.0120.02618.55
7.0.80.0050.04218.47
7.0.70.0030.02918.56
7.0.60.0030.03518.55
7.0.50.0070.04518.64
7.0.40.0070.03516.68
7.0.30.0070.04016.67
7.0.20.0090.03516.72
7.0.10.0020.02616.71
7.0.00.0070.02016.83
5.6.380.0060.00613.97
5.6.370.0100.00314.09
5.6.360.0040.01114.32
5.6.350.0000.01514.13
5.6.340.0130.00314.13
5.6.330.0070.00714.01
5.6.320.0120.00014.23
5.6.310.0060.00314.23
5.6.300.0090.00614.11
5.6.290.0110.00613.62
5.6.280.0080.03617.39
5.6.270.0030.03317.45
5.6.260.0080.02217.46
5.6.250.0020.02717.31
5.6.240.0080.02817.39
5.6.230.0000.03317.53
5.6.220.0060.02517.68
5.6.210.0030.02717.45
5.6.200.0050.02717.48
5.6.190.0080.02717.45
5.6.180.0050.04517.52
5.6.170.0030.02617.51
5.6.160.0070.02517.41
5.6.150.0050.02517.64
5.6.140.0070.02517.63
5.6.130.0020.02717.66
5.6.120.0060.02017.46
5.6.110.0030.02517.40
5.6.100.0030.02817.54
5.6.90.0020.02117.39
5.6.80.0100.03717.12
5.6.70.0100.02516.91
5.6.60.0070.04217.04
5.6.50.0100.03617.11
5.6.40.0050.03817.12
5.6.30.0020.02917.25
5.6.20.0090.02517.13
5.6.10.0030.02517.14
5.6.00.0030.04017.02
5.5.380.0020.03714.33
5.5.370.0030.03414.38
5.5.360.0030.04014.49
5.5.350.0050.04014.31
5.5.340.0050.02214.62
5.5.330.0020.02514.57
5.5.320.0070.04314.54
5.5.310.0080.04114.65
5.5.300.0020.02514.56
5.5.290.0050.02214.55
5.5.280.0060.02014.63
5.5.270.0020.02414.69
5.5.260.0030.02114.61
5.5.250.0060.02614.46
5.5.240.0040.03514.24
5.5.230.0000.04014.34
5.5.220.0050.02814.21
5.5.210.0090.02814.31
5.5.200.0000.03514.23
5.5.190.0050.02814.32
5.5.180.0020.04414.18
5.5.170.0000.01211.18
5.5.160.0090.01614.24
5.5.150.0020.03214.24
5.5.140.0030.02414.32
5.5.130.0030.03014.29
5.5.120.0030.04714.32
5.5.110.0030.03214.29
5.5.100.0000.03114.25
5.5.90.0000.02214.13
5.5.80.0090.03514.28
5.5.70.0030.02114.32
5.5.60.0050.02714.16
5.5.50.0050.03014.12
5.5.40.0020.02114.32
5.5.30.0010.02114.17
5.5.20.0040.02514.23
5.5.10.0000.02614.32
5.5.00.0000.02214.27
5.4.450.0030.02015.32
5.4.440.0040.02015.20
5.4.430.0020.02215.21
5.4.420.0060.02215.31
5.4.410.0030.02215.18
5.4.400.0090.03315.23
5.4.390.0040.01815.07
5.4.380.0060.02515.05
5.4.370.0070.04015.16
5.4.360.0040.02215.08
5.4.350.0050.03515.15
5.4.340.0010.03315.08
5.4.330.0070.00311.18
5.4.320.0070.02015.10
5.4.310.0020.02315.07
5.4.300.0040.02115.14
5.4.290.0030.02515.19
5.4.280.0030.02815.15
5.4.270.0040.02115.15
5.4.260.0050.03215.15
5.4.250.0050.01915.05
5.4.240.0070.02015.07
5.4.230.0020.02015.06
5.4.220.0020.02215.18
5.4.210.0040.02315.06
5.4.200.0030.02615.05
5.4.190.0040.02015.03
5.4.180.0050.02715.14
5.4.170.0020.03115.06
5.4.160.0120.02015.16
5.4.150.0080.03515.05
5.4.140.0100.02513.72
5.4.130.0050.02013.82
5.4.120.0000.04113.84
5.4.110.0030.02813.70
5.4.100.0060.02313.76
5.4.90.0030.02013.83
5.4.80.0020.02213.80
5.4.70.0050.02313.75
5.4.60.0050.02013.84
5.4.50.0020.02413.70
5.4.40.0050.02113.78
5.4.30.0050.02013.77
5.4.20.0030.01813.83
5.4.10.0060.03813.84
5.4.00.0020.03213.54
5.3.290.0090.01512.92
5.3.280.0050.02012.89
5.3.270.0000.04012.90
5.3.260.0030.02312.86
5.3.250.0090.03613.00
5.3.240.0030.03812.89
5.3.230.0050.03012.88
5.3.220.0050.02912.85
5.3.210.0020.04012.91
5.3.200.0060.01812.91
5.3.190.0080.01712.87
5.3.180.0010.02312.87
5.3.170.0030.02012.86
5.3.160.0030.02112.87
5.3.150.0050.02012.84
5.3.140.0050.02312.86
5.3.130.0030.02712.87
5.3.120.0040.02012.87
5.3.110.0050.01712.92
5.3.100.0050.02212.61
5.3.90.0020.02212.59
5.3.80.0070.03512.60
5.3.70.0020.01812.53
5.3.60.0040.03812.56
5.3.50.0020.02912.48
5.3.40.0050.02612.49
5.3.30.0060.03312.53
5.3.20.0030.03812.54
5.3.10.0050.03712.41
5.3.00.0070.02112.41
5.2.170.0040.03111.16
5.2.160.0020.03511.27
5.2.150.0020.01711.23
5.2.140.0080.03511.16
5.2.130.0030.02811.13
5.2.120.0050.02811.17
5.2.110.0050.02811.14
5.2.100.0030.02811.25
5.2.90.0000.01911.13
5.2.80.0030.01611.16
5.2.70.0010.02311.13
5.2.60.0030.03811.22
5.2.50.0080.01511.13
5.2.40.0020.01911.15
5.2.30.0020.01911.10
5.2.20.0010.02911.05
5.2.10.0070.02011.04
5.2.00.0020.01910.95
5.1.60.0070.02710.55
5.1.50.0080.02010.62
5.1.40.0020.02910.60
5.1.30.0050.03210.75
5.1.20.0050.02910.80
5.1.10.0060.01810.58
5.1.00.0030.02910.57
5.0.50.0000.01410.46
5.0.40.0050.01210.46
5.0.30.0000.01810.46
5.0.20.0040.01110.46
5.0.10.0050.01710.46
5.0.00.0010.03110.46
4.4.90.0030.01710.46
4.4.80.0020.01210.46
4.4.70.0030.01010.46
4.4.60.0030.01310.46
4.4.50.0070.01210.46
4.4.40.0020.01410.46
4.4.30.0030.00810.46
4.4.20.0040.01610.46
4.4.10.0040.00810.46
4.4.00.0000.01610.46
4.3.110.0020.02210.46
4.3.100.0030.01410.46
4.3.90.0030.01510.46
4.3.80.0040.02210.46
4.3.70.0000.02010.46
4.3.60.0050.01510.46
4.3.50.0030.01710.46
4.3.40.0020.01510.46
4.3.30.0040.02010.46
4.3.20.0040.01910.46
4.3.10.0030.01810.46
4.3.00.0030.01710.46

preferences:
47.11 ms | 401 KiB | 5 Q