3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(['option1'=> 'option1', 'option2' => 0] != ['option1'=> 0, 'option2' => 'option2']);

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.120.0130.00722.34
8.4.110.0100.00722.38
8.4.100.0110.01018.33
8.4.90.0120.00518.70
8.4.80.0060.00318.51
8.4.70.0130.00717.82
8.4.60.0090.00718.99
8.4.50.0110.00922.42
8.4.40.0130.00717.63
8.4.30.0180.00320.55
8.4.20.0100.01017.84
8.4.10.0000.01119.40
8.3.250.0070.01118.88
8.3.240.0090.01016.91
8.3.230.0090.00916.32
8.3.220.0040.00418.72
8.3.210.0120.00718.54
8.3.200.0080.00816.32
8.3.190.0060.00316.94
8.3.180.0110.00718.90
8.3.170.0070.00716.37
8.3.160.0090.01017.01
8.3.150.0090.00916.89
8.3.140.0030.00620.52
8.3.130.0030.00618.47
8.3.120.0100.00319.03
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0070.01026.77
8.3.80.0070.00717.97
8.3.70.0100.00718.16
8.3.60.0140.00418.04
8.3.50.0200.00316.35
8.3.40.0100.00321.77
8.3.30.0100.00718.83
8.3.20.0050.00324.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0050.00320.28
8.2.280.0110.00718.10
8.2.270.0140.00418.05
8.2.260.0060.00316.55
8.2.250.0120.00318.23
8.2.240.0150.00317.13
8.2.230.0030.00722.58
8.2.220.0090.00037.54
8.2.210.0100.00726.77
8.2.200.0030.00616.38
8.2.190.0110.00416.58
8.2.180.0070.01116.63
8.2.170.0140.00718.77
8.2.160.0150.00022.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00921.00
8.2.110.0030.00719.30
8.2.100.0240.00118.44
8.2.90.0320.00318.44
8.2.80.0260.00418.44
8.2.70.0270.00318.44
8.2.60.0350.00018.44
8.2.50.0260.00718.44
8.2.40.0140.01018.44
8.2.30.0230.00318.44
8.2.20.0230.00418.44
8.2.10.0300.00018.44
8.2.00.0210.00718.44
8.1.330.0130.00521.71
8.1.320.0090.01017.74
8.1.310.0040.00716.63
8.1.300.0080.00017.52
8.1.290.0060.00330.84
8.1.280.0120.00925.92
8.1.270.0070.00024.66
8.1.260.0070.00026.35
8.1.250.0110.00328.09
8.1.240.0030.00622.02
8.1.230.0130.00619.01
8.1.220.0220.00418.44
8.1.210.0190.00818.44
8.1.200.0290.00018.44
8.1.190.0220.00518.44
8.1.180.0230.00318.44
8.1.170.0220.00418.44
8.1.160.0240.00318.44
8.1.150.0250.00418.44
8.1.140.0210.00718.44
8.1.130.0170.01318.44
8.1.120.0240.00318.44
8.1.110.0210.00418.44
8.1.100.0300.00318.44
8.1.90.0190.00818.44
8.1.80.0240.00318.44
8.1.70.0190.01018.44
8.1.60.0210.00618.44
8.1.50.0200.00718.44
8.1.40.0210.00718.44
8.1.30.0240.00318.44
8.1.20.0240.00318.44
8.1.10.0190.00718.44
8.1.00.0170.01018.44
8.0.300.0310.00518.44
8.0.290.0210.00718.44
8.0.280.0190.01018.44
8.0.270.0210.00718.44
8.0.260.0220.00618.44
8.0.250.0220.00418.44
8.0.240.0210.00418.44
8.0.230.0240.00318.44
8.0.220.0240.00618.44
8.0.210.0160.01218.44
8.0.200.0210.00718.44
8.0.190.0150.01118.44
8.0.180.0230.00418.44
8.0.170.0140.00318.46
8.0.160.0270.00018.44
8.0.150.0260.00018.44
8.0.140.0230.00318.44
8.0.130.0260.00318.44
8.0.120.0300.00018.44
8.0.110.0220.00418.44
8.0.100.0270.00018.44
8.0.90.0250.00318.44
8.0.80.0170.01018.44
8.0.70.0190.00718.44
8.0.60.0200.00318.44
8.0.50.0210.00318.44
8.0.30.0190.00818.44
8.0.20.0210.00518.44
8.0.10.0240.00318.44
7.4.330.0140.00318.44

preferences:
29.14 ms | 403 KiB | 5 Q