3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='{"id"col;1,"jsonrpc"col;"2.0","result"col;{"audiostreams"col;[{"bitrate"col;0,"channels"col;8,"codec"col;"truehd","index"col;0,"language"col;"eng","name"col;"Dolby TrueHD 7.1"},{"bitrate"col;384000,"channels"col;6,"codec"col;"ac3","index"col;1,"language"col;"eng","name"col;"AC3 5.1"},{"bitrate"col;448000,"channels"col;6,"codec"col;"ac3","index"col;2,"language"col;"cze","name"col;"AC3 5.1"},{"bitrate"col;445591,"channels"col;6,"codec"col;"ac3","index"col;3,"language"col;"hin","name"col;"AC3 5.1"},{"bitrate"col;448000,"channels"col;6,"codec"col;"ac3","index"col;4,"language"col;"hun","name"col;"AC3 5.1"},{"bitrate"col;448000,"channels"col;6,"codec"col;"ac3","index"col;5,"language"col;"pol","name"col;"AC3 5.1"},{"bitrate"col;448000,"channels"col;6,"codec"col;"ac3","index"col;6,"language"col;"rus","name"col;"AC3 5.1"},{"bitrate"col;448000,"channels"col;6,"codec"col;"ac3","index"col;7,"language"col;"tha","name"col;"AC3 5.1"},{"bitrate"col;192000,"channels"col;2,"codec"col;"ac3","index"col;8,"language"col;"tur","name"col;"AC3 Stereo"}]}}'; var_dump(json_decode($str, true));

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.0090.01216.38
8.3.50.0150.00019.96
8.3.40.0070.00718.44
8.3.30.0100.00518.71
8.3.20.0040.00418.98
8.3.10.0080.00021.75
8.3.00.0040.00420.82
8.2.180.0120.00316.38
8.2.170.0110.00422.96
8.2.160.0130.00020.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00421.11
8.2.120.0050.00226.35
8.2.110.0060.00322.31
8.2.100.0070.00419.39
8.2.90.0030.00517.61
8.2.80.0060.00318.84
8.2.70.0040.00417.80
8.2.60.0050.00317.91
8.2.50.0000.00818.10
8.2.40.0030.00520.67
8.2.30.0000.00719.11
8.2.20.0000.00817.91
8.2.10.0070.00017.88
8.2.00.0040.00417.61
8.1.280.0100.01025.92
8.1.270.0070.00022.02
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0060.00323.81
8.1.230.0080.00320.95
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.23
8.1.190.0060.00317.11
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00718.74
8.1.150.0020.00520.17
8.1.140.0040.00419.51
8.1.130.0030.00317.54
8.1.120.0000.01017.34
8.1.110.0000.00817.29
8.1.100.0000.00817.43
8.1.90.0060.00317.39
8.1.80.0000.00717.41
8.1.70.0070.00017.41
8.1.60.0050.00317.57
8.1.50.0040.00417.45
8.1.40.0030.00517.47
8.1.30.0060.00317.58
8.1.20.0040.00417.59
8.1.10.0040.00417.38
8.1.00.0000.00717.27
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.38
8.0.270.0030.00317.11
8.0.260.0070.00017.22
8.0.250.0070.00016.87
8.0.240.0030.00616.77
8.0.230.0050.00316.86
8.0.220.0080.00016.71
8.0.210.0040.00416.84
8.0.200.0040.00416.89
8.0.190.0060.00316.90
8.0.180.0070.00016.89
8.0.170.0000.00716.91
8.0.160.0000.00716.78
8.0.150.0000.00816.72
8.0.140.0030.00516.65
8.0.130.0050.00013.25
8.0.120.0030.00516.71
8.0.110.0050.00316.84
8.0.100.0030.00316.84
8.0.90.0000.00816.85
8.0.80.0160.00616.88
8.0.70.0000.00716.65
8.0.60.0000.00716.62
8.0.50.0040.00416.78
8.0.30.0130.00516.98
8.0.20.0100.00817.40
8.0.10.0000.00816.83
8.0.00.0140.00216.66
7.4.330.0000.00615.55
7.4.320.0040.00416.53
7.4.300.0040.00416.34
7.4.290.0000.00716.33
7.4.280.0090.00016.42
7.4.270.0000.00716.42
7.4.260.0070.00016.56
7.4.250.0050.00316.50
7.4.240.0040.00316.54
7.4.230.0000.00716.63
7.4.220.0030.01516.63
7.4.210.0070.01416.40
7.4.200.0030.00316.56
7.4.160.0130.00716.26
7.4.150.0110.00717.40
7.4.140.0090.00917.86
7.4.130.0070.00916.29
7.4.120.0120.00816.43
7.4.110.0130.00316.37
7.4.100.0150.00616.65
7.4.90.0150.00916.27
7.4.80.0080.00819.39
7.4.70.0110.00516.55
7.4.60.0130.00716.60
7.4.50.0030.01016.11
7.4.40.0100.00716.41
7.4.30.0150.00616.32
7.4.00.0100.00014.49
7.3.330.0030.00313.07
7.3.320.0050.00012.98
7.3.310.0030.00316.09
7.3.300.0030.00315.97
7.3.290.0100.00616.12
7.3.280.0090.01016.12
7.3.270.0100.00717.40
7.3.260.0070.00916.39
7.3.250.0080.00916.28
7.3.240.0110.01116.26
7.3.230.0080.00816.39
7.3.210.0130.00616.16
7.3.200.0050.01616.11
7.3.190.0160.00616.28
7.3.180.0090.00616.50
7.3.170.0070.01416.18
7.3.160.0110.00716.46
7.2.330.0020.01516.27
7.2.320.0170.00016.53
7.2.310.0060.01216.46
7.2.300.0150.00416.24
7.2.290.0150.00616.35
7.2.60.0040.00716.75
7.2.50.0070.00716.70
7.2.00.0030.00918.99
7.1.200.0100.01015.82
7.1.70.0000.01017.15
7.1.60.0070.00316.95
7.1.00.0030.07022.33
7.0.200.0000.00716.81
7.0.130.0200.04722.09
7.0.120.0100.05722.05
7.0.110.0200.05722.02
7.0.100.0070.05722.05
7.0.90.0100.05722.11
7.0.80.0070.06322.06
7.0.70.0070.05722.10
7.0.60.0100.06722.02
7.0.50.0030.07022.11
7.0.40.0100.05322.12
7.0.30.0100.05022.06
7.0.20.0030.07322.06
7.0.10.0100.05722.05
7.0.00.0130.05022.02
5.6.280.0070.06321.03
5.6.270.0200.05021.10
5.6.260.0100.07021.12
5.6.250.0070.05720.86
5.6.240.0030.06320.99
5.6.230.0130.05721.02
5.6.220.0070.05720.77
5.6.210.0170.05020.94
5.6.200.0100.06021.04
5.6.190.0070.05721.00
5.6.180.0030.06320.94
5.6.170.0100.05320.85
5.6.160.0000.06020.79
5.6.150.0030.06020.94
5.6.140.0130.05020.91
5.6.130.0100.05720.87
5.6.120.0030.06021.01
5.6.110.0100.05721.06
5.6.100.0100.05720.78
5.6.90.0130.05020.96
5.6.80.0130.04720.38
5.6.70.0130.05020.21
5.6.60.0030.08320.20
5.6.50.0070.05720.41
5.6.40.0130.05020.44
5.6.30.0030.06020.31
5.6.20.0130.06720.35
5.6.10.0170.05020.35
5.6.00.0130.04720.08

preferences:
65.74 ms | 401 KiB | 5 Q