3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([json_encode(json_decode( '{}', false )), json_encode(array())]);

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.4.20.0100.01018.03
8.4.10.0040.00419.23
8.3.150.0070.01116.98
8.3.140.0150.00418.80
8.3.130.0030.00618.33
8.3.120.0060.00318.69
8.3.110.0080.00420.94
8.3.100.0060.00924.06
8.3.90.0000.00826.77
8.3.80.0030.00617.97
8.3.70.0000.01516.50
8.3.60.0070.01418.30
8.3.50.0180.00316.32
8.3.40.0060.00920.26
8.3.30.0060.00918.70
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0080.00026.16
8.2.260.0060.00316.54
8.2.250.0060.00916.48
8.2.240.0040.00717.30
8.2.230.0000.01222.58
8.2.220.0080.00037.54
8.2.210.0070.00726.77
8.2.200.0070.00316.38
8.2.190.0070.00716.58
8.2.180.0070.00718.56
8.2.170.0070.00718.74
8.2.160.0150.00022.96
8.2.150.0070.00025.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00820.94
8.2.110.0060.00319.24
8.2.100.0320.00018.44
8.2.90.0200.00718.44
8.2.80.0270.00718.44
8.2.70.0230.00818.44
8.2.60.0210.00818.44
8.2.50.0250.00618.44
8.2.40.0170.00319.09
8.2.30.0270.00318.44
8.2.20.0050.01019.21
8.2.10.0250.00318.44
8.2.00.0220.00618.44
8.1.310.0110.00616.55
8.1.300.0080.00815.84
8.1.290.0060.00330.84
8.1.280.0130.00625.92
8.1.270.0090.00324.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00719.03
8.1.230.0250.00018.44
8.1.220.0220.00718.44
8.1.210.0260.00418.44
8.1.200.0230.00318.44
8.1.190.0240.00318.44
8.1.180.0280.00018.44
8.1.170.0280.00018.44
8.1.160.0300.00318.44
8.1.150.0170.01018.44
8.1.140.0220.00418.44
8.1.130.0220.00518.44
8.1.120.0220.00618.44
8.1.110.0220.00618.44
8.1.100.0230.00318.44
8.1.90.0200.00718.44
8.1.80.0280.00218.44
8.1.70.0260.00418.44
8.1.60.0260.00318.44
8.1.50.0200.00618.44
8.1.40.0200.00718.44
8.1.30.0210.00618.44
8.1.20.0170.01018.44
8.1.10.0250.00418.44
8.1.00.0230.00318.44
8.0.300.0170.00918.44
8.0.290.0200.00718.44
8.0.280.0270.00318.44
8.0.270.0190.00818.44
8.0.260.0200.00718.44
8.0.250.0200.00818.44
8.0.240.0190.00818.44
8.0.230.0230.00718.44
8.0.220.0270.00018.44
8.0.210.0270.00018.44
8.0.200.0200.00718.44
8.0.190.0230.00318.44
8.0.180.0270.00018.44
8.0.170.0240.00418.44
8.0.160.0210.00618.44
8.0.150.0170.01018.44
8.0.140.0220.00318.44
8.0.130.0170.01118.44
8.0.120.0240.00418.44
8.0.110.0170.01018.44
8.0.100.0240.00318.44
8.0.90.0180.00918.44
8.0.80.0270.00018.44
8.0.70.0190.00818.44
8.0.60.0260.00418.44
8.0.50.0200.00818.44
8.0.30.0230.00318.44
8.0.20.0210.00518.44
8.0.10.0180.00718.44

preferences:
38.69 ms | 403 KiB | 5 Q