3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array =['fire']; print_r(json_encode([]));

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.00718.43
8.3.50.0070.01016.35
8.3.40.0110.00418.71
8.3.30.0080.00818.54
8.3.20.0070.00020.16
8.3.10.0040.00423.65
8.3.00.0030.00519.43
8.2.180.0100.01016.63
8.2.170.0070.00722.96
8.2.160.0070.00718.71
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00719.32
8.2.120.0040.00426.35
8.2.110.0060.00321.04
8.2.100.0040.00718.09
8.2.90.0060.00318.83
8.2.80.0050.00317.97
8.2.70.0040.00417.36
8.2.60.0070.00017.91
8.2.50.0070.00218.10
8.2.40.0040.00420.61
8.2.30.0000.00719.19
8.2.20.0050.00218.00
8.2.10.0070.00018.05
8.2.00.0050.00218.10
8.1.280.0110.01125.92
8.1.270.0040.00422.01
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0090.00023.83
8.1.230.0000.01119.22
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0050.00317.00
8.1.180.0070.00018.10
8.1.170.0000.00718.55
8.1.160.0000.00719.05
8.1.150.0040.00418.86
8.1.140.0070.00019.38
8.1.130.0000.00718.89
8.1.120.0040.00417.40
8.1.110.0050.00317.37
8.1.100.0000.00817.39
8.1.90.0000.00817.29
8.1.80.0050.00317.45
8.1.70.0050.00317.37
8.1.60.0030.00617.35
8.1.50.0000.00817.45
8.1.40.0060.00617.33
8.1.30.0040.00417.65
8.1.20.0030.00617.49
8.1.10.0040.00417.41
8.1.00.0000.00817.39
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0080.00018.38
8.0.270.0030.00317.23
8.0.260.0030.00316.67
8.0.250.0000.00616.90
8.0.240.0030.00616.92
8.0.230.0000.00816.92
8.0.220.0040.00416.81
8.0.210.0050.00316.81
8.0.200.0030.00316.86
8.0.190.0050.00316.93
8.0.180.0080.00016.82
8.0.170.0000.00916.88
8.0.160.0060.00316.90
8.0.150.0100.00016.69
8.0.140.0000.00816.74
8.0.130.0000.00813.32
8.0.120.0050.00316.79
8.0.110.0040.00416.70
8.0.100.0030.00316.73
8.0.90.0050.00216.73
8.0.80.0000.01516.79
8.0.70.0050.00316.77
8.0.60.0040.00416.81
8.0.50.0040.00416.63
8.0.30.0060.01316.96
8.0.20.0100.00917.40
8.0.10.0040.00416.96
8.0.00.0030.01516.66
7.4.330.0060.00015.55
7.4.320.0030.00316.53
7.4.300.0000.00616.54
7.4.290.0030.00616.49
7.4.280.0040.00416.54
7.4.270.0050.00216.54
7.4.260.0060.00316.52
7.4.250.0040.00416.51
7.4.240.0000.00716.38
7.4.230.0000.00716.54
7.4.220.0060.01216.55
7.4.210.0060.00916.46
7.4.200.0070.00016.37
7.4.160.0080.01116.48
7.4.150.0070.01717.40
7.4.140.0080.01017.86
7.4.130.0110.01416.43
7.4.120.0130.00816.45
7.4.110.0040.01216.41
7.4.100.0150.00816.37
7.4.90.0140.00316.36
7.4.80.0080.00819.39
7.4.70.0070.01016.48
7.4.60.0130.00316.53
7.4.50.0070.00716.09
7.4.40.0090.00916.39
7.4.30.0090.00716.41
7.4.00.0130.00314.86
7.3.330.0000.00512.97
7.3.320.0030.00312.92
7.3.310.0000.00716.21
7.3.300.0030.00316.15
7.3.290.0040.01216.05
7.3.280.0070.00916.12
7.3.270.0030.01617.40
7.3.260.0100.00816.24
7.3.250.0160.00416.33
7.3.240.0050.01316.30
7.3.230.0030.01416.25
7.3.210.0070.01016.11
7.3.200.0110.00716.18
7.3.190.0050.01016.49
7.3.180.0130.00316.07
7.3.170.0030.01616.22
7.3.160.0100.01116.36
7.2.330.0180.00016.49
7.2.320.0070.01416.42
7.2.310.0090.00616.46
7.2.300.0090.00616.26
7.2.290.0080.01416.34
7.2.60.0030.01216.74
7.1.200.0120.00015.50
7.1.100.0040.00717.80
7.1.70.0070.01016.83
7.1.60.0120.01835.05
7.1.50.0140.01334.63
7.1.40.0120.01934.22
7.1.30.0170.01034.21
7.1.20.0090.01934.35
7.1.10.0040.01116.36
7.1.00.0020.01316.30
7.0.200.0070.00716.51
7.0.190.0060.00816.70
7.0.180.0030.01516.00
7.0.170.0100.00316.32
7.0.160.0070.00915.99
7.0.150.0060.00816.14
7.0.140.0160.00016.11
7.0.130.0080.00816.22
7.0.120.0050.01416.36
7.0.110.0060.00816.08
7.0.100.0120.00416.04
7.0.90.0060.01216.02
7.0.80.0020.01616.36
7.0.70.0040.01316.03
7.0.60.0080.00815.88
7.0.50.0110.00316.09
7.0.40.0030.01416.28
7.0.30.0020.01516.31
7.0.20.0060.01116.21
7.0.10.0130.00316.18
7.0.00.0070.01016.19

preferences:
45.13 ms | 400 KiB | 5 Q