3v4l.org

run code in 300+ PHP versions simultaneously
<?php $getPrintReadyListResponse = '{ "printouts": [{ "order_id": 12345, "music_id": 10000, "arrangement": "Arrangement Type", "artist": "Artist Name", "prints_remaining": 2, "title": "A Music Title" }, { "order_id": 12345, "music_id": 10002, "arrangement": "Another Arrangement", "artist": "Another Artist", "prints_remaining": 1, "title": "Another Music Title" }], "success": true }'; $obj = json_decode($getPrintReadyListResponse); //var_dump($obj); // dump what we got $s = $obj->success; foreach ( $obj->printouts as $o) { echo $o ; }; ?>

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.0170.00318.43
8.3.50.0090.00916.50
8.3.40.0180.00019.02
8.3.30.0000.01418.60
8.3.20.0040.00420.08
8.3.10.0000.00723.53
8.3.00.0090.00019.56
8.2.180.0090.00616.75
8.2.170.0040.01122.96
8.2.160.0100.01020.47
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00826.16
8.2.120.0030.00617.75
8.2.110.0050.00519.45
8.2.100.0040.00819.48
8.2.90.0000.00819.21
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0040.00419.28
8.2.30.0030.00619.77
8.2.20.0000.00817.79
8.2.10.0000.00718.12
8.2.00.0040.00418.09
8.1.280.0150.00425.92
8.1.270.0080.00020.25
8.1.260.0030.00526.35
8.1.250.0030.00628.09
8.1.240.0070.00321.00
8.1.230.0040.00817.42
8.1.220.0000.00817.75
8.1.210.0080.00018.77
8.1.200.0060.00317.48
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0040.00421.91
8.1.150.0070.00018.89
8.1.140.0100.00017.48
8.1.130.0030.00317.61
8.1.120.0080.00017.50
8.1.110.0000.00717.34
8.1.100.0050.00217.43
8.1.90.0030.00517.50
8.1.80.0040.00417.34
8.1.70.0000.00717.33
8.1.60.0000.00817.48
8.1.50.0040.00417.48
8.1.40.0000.00817.40
8.1.30.0030.00517.63
8.1.20.0040.00417.61
8.1.10.0040.00417.58
8.1.00.0030.00617.51
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0000.00717.29
8.0.260.0030.00317.26
8.0.250.0070.00316.97
8.0.240.0000.00617.02
8.0.230.0030.00316.91
8.0.220.0000.00716.92
8.0.210.0020.00516.98
8.0.200.0030.00316.97
8.0.190.0080.00017.05
8.0.180.0070.00016.87
8.0.170.0080.00016.89
8.0.160.0040.00416.93
8.0.150.0000.00716.85
8.0.140.0000.00816.79
8.0.130.0030.00313.42
8.0.120.0000.00816.92
8.0.110.0070.00016.85
8.0.100.0070.00016.96
8.0.90.0070.00016.77
8.0.80.0120.00916.94
8.0.70.0040.00416.73
8.0.60.0000.00716.82
8.0.50.0000.00816.88
8.0.30.0080.00817.15
8.0.20.0100.01217.40
8.0.10.0000.00717.04
8.0.00.0080.01416.77
7.4.330.0070.00015.08
7.4.320.0030.00316.45
7.4.300.0030.00316.60
7.4.290.0070.00016.43
7.4.280.0070.00016.41
7.4.270.0000.00716.50
7.4.260.0060.00316.48
7.4.250.0040.00416.54
7.4.240.0000.00716.57
7.4.230.0000.00716.45
7.4.220.0090.00916.46
7.4.210.0000.01416.56
7.4.200.0050.00216.48
7.4.160.0110.00416.39
7.4.150.0060.01417.40
7.4.140.0100.00817.86
7.4.130.0070.01016.59
7.4.120.0090.00916.54
7.4.110.0160.00916.58
7.4.100.0060.01216.40
7.4.90.0070.01016.49
7.4.80.0110.00519.39
7.4.70.0110.00616.57
7.4.60.0090.00916.58
7.4.50.0030.00516.36
7.4.40.0110.01116.80
7.4.30.0060.01616.50
7.4.00.0000.01615.11
7.3.330.0000.00513.26
7.3.320.0000.00513.23
7.3.310.0080.00016.46
7.3.300.0030.00316.31
7.3.290.0060.01016.30
7.3.280.0090.00916.33
7.3.270.0100.01317.40
7.3.260.0070.01316.42
7.3.250.0100.00916.31
7.3.240.0160.00616.59
7.3.230.0030.01416.39
7.3.210.0130.00316.27
7.3.200.0030.01316.55
7.3.190.0130.00316.21
7.3.180.0030.01216.66
7.3.170.0030.01316.38
7.3.160.0090.00816.38
7.3.120.0100.00714.59
7.3.110.0100.00314.57
7.3.100.0030.01214.88
7.3.90.0040.01114.82
7.3.80.0060.00314.82
7.3.70.0100.00314.92
7.3.60.0070.00314.77
7.3.50.0000.01214.86
7.3.40.0060.00914.67
7.3.30.0040.00814.39
7.3.20.0000.01316.72
7.3.10.0090.00316.59
7.3.00.0040.00916.69
7.2.330.0100.00616.53
7.2.320.0090.00916.73
7.2.310.0060.01216.75
7.2.300.0100.00616.80
7.2.290.0030.01316.78
7.2.240.0120.00414.99
7.2.230.0070.00714.97
7.2.220.0040.00714.88
7.2.210.0070.00714.66
7.2.200.0060.00615.02
7.2.190.0060.00914.84
7.2.180.0000.01515.05
7.2.170.0030.01414.95
7.2.160.0110.00314.97
7.2.150.0030.01216.72
7.2.140.0100.00316.91
7.2.130.0070.00517.00
7.2.120.0050.01016.99
7.2.110.0080.00717.00
7.2.100.0080.00816.75
7.2.90.0070.01016.98
7.2.80.0050.00916.88
7.2.70.0080.00416.97
7.2.60.0080.00716.86
7.2.50.0130.00217.05
7.2.40.0030.01116.96
7.2.30.0030.01316.81
7.2.20.0050.00916.97
7.2.10.0010.01016.75
7.2.00.0070.00717.70
7.1.330.0040.00415.50
7.1.320.0070.00715.59
7.1.310.0030.01015.79
7.1.300.0030.01015.83
7.1.290.0000.01415.80
7.1.280.0000.00915.85
7.1.270.0030.00915.98
7.1.260.0000.00915.59
7.1.250.0100.00615.73
7.1.200.0000.00816.02
7.1.100.0000.00918.07
7.1.70.0060.00316.83
7.1.60.0070.01319.12
7.1.50.0140.00716.64
7.1.00.0070.07022.43
7.0.200.0080.00816.73
7.0.60.0170.07320.00
7.0.50.0100.05717.82
7.0.40.0130.03320.30
7.0.30.0270.07020.20
7.0.20.0270.06020.09
7.0.10.0100.06720.20
7.0.00.0000.04320.12
5.6.280.0000.06720.81
5.6.210.0170.04720.76
5.6.200.0030.05018.23
5.6.190.0130.07720.62
5.6.180.0130.05020.41
5.6.170.0330.06720.33
5.6.160.0000.04320.37
5.6.150.0070.03718.09
5.6.140.0070.03718.18
5.6.130.0070.03718.19
5.6.120.0030.08320.98
5.6.110.0030.09321.11
5.6.100.0000.08020.98
5.6.90.0100.05320.92
5.6.80.0100.07720.39
5.6.70.0300.07020.34
5.5.350.3970.03720.50
5.5.340.0070.03718.02
5.5.330.0030.05020.19
5.5.320.0330.08320.21
5.5.310.0330.03720.27
5.5.300.0070.04718.01
5.5.290.0070.07318.00
5.5.280.0170.07320.84
5.5.270.0070.05020.95
5.5.260.0100.08320.79
5.5.250.0070.06320.77
5.5.240.0130.03020.28
5.4.450.0330.07319.63
5.4.440.0200.06319.61
5.4.430.0400.03719.62
5.4.420.0330.04719.53
5.4.410.0330.07319.36
5.4.400.0300.05019.32
5.4.390.0230.05319.12
5.4.380.0300.04719.28
5.4.370.0270.05019.12
5.4.360.0300.06019.25
5.4.350.0200.05719.30
5.4.340.0230.05318.81
5.4.320.0330.04318.97
5.4.310.0230.05019.30
5.4.300.0130.07019.26
5.4.290.0270.04319.14
5.4.280.0270.05018.82
5.4.270.0230.04719.12
5.4.260.0170.05319.29
5.4.250.0270.04318.99
5.4.240.0200.05018.77
5.4.230.0170.05719.07
5.4.220.0130.06019.22
5.4.210.0200.05018.91
5.4.200.0230.04719.18
5.4.190.0100.06319.06
5.4.180.0100.06318.91
5.4.170.0270.04718.91
5.4.160.0130.06719.13
5.4.150.0170.05719.13
5.4.140.0200.05016.34
5.4.130.0170.05316.55
5.4.120.0270.04316.25
5.4.110.0200.05316.49
5.4.100.0170.07316.29
5.4.90.0300.06016.37
5.4.80.0230.04016.49
5.4.70.0200.03316.05
5.4.60.0230.05316.28
5.4.50.0070.06716.19
5.4.40.0000.03716.32
5.4.30.0030.07016.46
5.4.20.0000.03716.36

preferences:
42.35 ms | 401 KiB | 5 Q