3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D'; var_dump(json_decode($text, true)); var_dump(hexdex($text));

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.0060.01616.72
8.3.50.0090.00616.38
8.3.40.0040.01118.76
8.3.30.0110.00318.63
8.3.20.0070.00020.16
8.3.10.0070.00421.74
8.3.00.0000.00822.16
8.2.180.0120.00918.66
8.2.170.0000.01522.96
8.2.160.0170.00319.21
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00321.03
8.2.120.0040.00426.35
8.2.110.0040.00420.96
8.2.100.0000.01217.97
8.2.90.0040.00418.22
8.2.80.0000.00817.97
8.2.70.0060.00317.93
8.2.60.0080.00017.91
8.2.50.0000.00818.10
8.2.40.0040.00420.65
8.2.30.0080.00019.06
8.2.20.0030.00717.86
8.2.10.0000.00818.10
8.2.00.0030.00518.02
8.1.280.0000.01425.92
8.1.270.0040.00422.18
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00722.03
8.1.230.0080.00322.88
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00717.35
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0040.00418.53
8.1.160.0000.00719.07
8.1.150.0000.00818.69
8.1.140.0040.00419.58
8.1.130.0030.00318.78
8.1.120.0000.00717.41
8.1.110.0050.00217.30
8.1.100.0040.00417.29
8.1.90.0040.00417.38
8.1.80.0040.00417.38
8.1.70.0000.00817.44
8.1.60.0040.00417.52
8.1.50.0030.00517.46
8.1.40.0000.00817.50
8.1.30.0020.00517.63
8.1.20.0000.00717.53
8.1.10.0000.00917.41
8.1.00.0040.00417.38
8.0.300.0040.00419.65
8.0.290.0040.00416.58
8.0.280.0050.00218.43
8.0.270.0000.00717.23
8.0.260.0060.00016.80
8.0.250.0000.00716.99
8.0.240.0000.00717.01
8.0.230.0030.00316.83
8.0.220.0070.00016.86
8.0.210.0070.00016.90
8.0.200.0040.00416.96
8.0.190.0000.00816.92
8.0.180.0000.00716.79
8.0.170.0000.00716.99
8.0.160.0040.00416.78
8.0.150.0000.00716.89
8.0.140.0030.00316.86
8.0.130.0030.00313.27
8.0.120.0000.01016.85
8.0.110.0070.00016.78
8.0.100.0000.00716.75
8.0.90.0040.00416.76
8.0.80.0120.01216.80
8.0.70.0040.00416.88
8.0.60.0030.00516.76
8.0.50.0050.00216.84
8.0.30.0090.00816.98
8.0.20.0110.00717.40
8.0.10.0050.00316.88
8.0.00.0060.01216.94
7.4.330.0050.00015.55
7.4.320.0000.00716.54
7.4.300.0000.00616.63
7.4.290.0070.00016.56
7.4.280.0030.00616.50
7.4.270.0030.00316.42
7.4.260.0030.00316.46
7.4.250.0070.00016.36
7.4.240.0030.00416.52
7.4.230.0000.00716.42
7.4.220.0090.00916.57
7.4.210.0040.01216.57
7.4.200.0030.00316.48
7.4.160.0060.01116.59
7.4.150.0120.00417.40
7.4.140.0110.01017.86
7.4.130.0040.01616.49
7.4.120.0060.01216.58
7.4.110.0140.00416.46
7.4.100.0150.00616.64
7.4.90.0070.01516.60
7.4.80.0070.01019.39
7.4.70.0150.00816.52
7.4.60.0120.00416.51
7.4.50.0060.00516.57
7.4.40.0080.01116.41
7.4.30.0070.01116.55
7.4.00.0070.00914.91
7.3.330.0000.00513.10
7.3.320.0030.00313.04
7.3.310.0030.00316.19
7.3.300.0030.00316.30
7.3.290.0090.00616.23
7.3.280.0080.00816.21
7.3.270.0050.01417.40
7.3.260.0120.00716.42
7.3.250.0070.01216.36
7.3.240.0130.00816.27
7.3.230.0150.00416.28
7.3.210.0070.01016.24
7.3.200.0000.01616.60
7.3.190.0060.00916.40
7.3.180.0150.00416.16
7.3.170.0100.01316.31
7.3.160.0130.00316.36
7.3.120.0040.01414.59
7.3.110.0070.01014.58
7.3.100.0120.00314.73
7.3.90.0000.01514.93
7.3.80.0030.00814.79
7.3.70.0070.01014.70
7.3.60.0030.01514.71
7.3.50.0080.00414.91
7.3.40.0060.00914.83
7.3.30.0120.00414.82
7.3.20.0070.00716.68
7.3.10.0000.01216.49
7.3.00.0100.00516.56
7.2.330.0090.00916.11
7.2.320.0100.00716.23
7.2.310.0100.01616.18
7.2.300.0140.00716.49
7.2.290.0160.00016.55
7.2.250.0100.00314.77
7.2.240.0100.01015.06
7.2.230.0090.00314.73
7.2.220.0070.00714.75
7.2.210.0030.00914.48
7.2.200.0070.01014.94
7.2.190.0110.00714.80
7.2.180.0110.00014.71
7.2.170.0100.00314.80
7.2.130.0070.00416.74
7.2.120.0090.00916.84
7.2.110.0160.00016.79
7.2.100.0100.00316.64
7.2.90.0030.01016.91
7.2.80.0000.01216.95
7.2.70.0070.00716.68
7.2.60.0090.00616.66
7.2.50.0120.00316.74
7.2.40.0140.00316.63
7.2.30.0100.00716.65
7.2.20.0120.00016.48
7.2.10.0070.00716.84
7.2.00.0070.00718.07
7.1.330.0100.00315.72
7.1.320.0070.00715.78
7.1.310.0090.00315.88
7.1.300.0070.01015.72
7.1.290.0030.01215.73
7.1.280.0100.00315.69
7.1.270.0120.00415.79
7.1.260.0080.00315.74
7.1.250.0070.00415.78
7.1.240.0130.00815.54
7.1.230.0110.01215.69
7.1.220.0040.01215.84
7.1.210.0060.00615.68
7.1.200.0030.01015.80
7.1.190.0070.00715.86
7.1.180.0000.01515.61
7.1.170.0030.00915.73
7.1.160.0060.00615.66
7.1.150.0030.01015.82
7.1.140.0070.00315.79
7.1.130.0030.00815.64
7.1.120.0000.01015.80
7.1.110.0070.00715.47
7.1.100.0040.00716.71
7.1.90.0080.00415.89
7.1.80.0040.01115.66
7.1.70.0020.01216.31
7.1.60.0160.00525.45
7.1.50.0090.01225.24
7.1.40.0140.00624.95
7.1.30.0110.01124.94
7.1.20.0100.00925.15
7.1.10.0060.00516.04
7.1.00.0060.00716.21
7.0.330.0060.00315.52
7.0.320.0050.00515.31
7.0.310.0060.00915.36
7.0.300.0060.00315.56
7.0.290.0060.00615.07
7.0.280.0080.00815.06
7.0.270.0030.00815.16
7.0.260.0000.01015.36
7.0.250.0030.00615.11
7.0.240.0000.01215.56
7.0.230.0040.00715.40
7.0.220.0070.00715.20
7.0.210.0110.00415.37
7.0.200.0070.00716.07
7.0.190.0080.00515.96
7.0.180.0060.00715.80
7.0.170.0110.00215.84
7.0.160.0020.01215.79
7.0.150.0040.01015.75
7.0.140.0080.00515.77
7.0.130.0020.01015.95
7.0.120.0030.01015.94
7.0.110.0050.00815.79
7.0.100.0030.01115.84
7.0.90.0030.00915.87
7.0.80.0050.00715.87
7.0.70.0030.01015.74
7.0.60.0040.00915.58
7.0.50.0050.00715.92
7.0.40.0040.00714.72
7.0.30.0090.00414.86
7.0.20.0020.01014.61
7.0.10.0090.00314.77
7.0.00.0060.00714.90
5.6.380.0060.00914.18

preferences:
30.7 ms | 401 KiB | 5 Q