3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ["Content-Type" => "text/plain"]; $o = (object) $a; var_dump($o, $o->{"Content-Type"});

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.140.0170.00417.28
8.4.130.0130.00917.52
8.4.120.0150.00720.54
8.4.110.0090.00318.64
8.4.100.0100.00717.55
8.4.90.0130.00820.50
8.4.80.0130.00720.68
8.4.70.0130.00817.82
8.4.60.0060.00318.71
8.4.50.0080.00817.55
8.4.40.0130.00717.56
8.4.30.0100.01020.69
8.4.20.0110.01121.29
8.4.10.0050.00319.50
8.3.270.0100.01116.73
8.3.260.0060.00316.63
8.3.250.0100.01018.89
8.3.240.0070.00218.48
8.3.230.0080.01017.05
8.3.220.0120.00618.97
8.3.210.0110.00816.61
8.3.200.0080.00216.45
8.3.190.0060.01017.23
8.3.180.0100.00818.23
8.3.170.0120.00617.23
8.3.160.0090.00916.74
8.3.150.0120.00318.95
8.3.140.0070.00718.77
8.3.130.0040.00418.54
8.3.120.0160.00320.83
8.3.110.0340.00822.58
8.3.100.0330.01422.58
8.3.90.0360.01122.58
8.3.80.0440.00422.58
8.3.70.0380.00922.58
8.3.60.0450.00722.58
8.3.50.0350.01422.58
8.3.40.0340.00222.58
8.3.30.0290.00522.58
8.3.20.0200.00822.58
8.3.10.0240.00822.58
8.3.00.0170.00522.58
8.2.290.0110.00917.36
8.2.280.0130.00619.95
8.2.270.0090.00617.29
8.2.260.0080.00016.49
8.2.250.0070.01017.00
8.2.240.0030.00617.32
8.2.230.0230.01122.58
8.2.220.0200.01322.58
8.2.210.0290.00522.58
8.2.200.0330.00622.58
8.2.190.0340.00922.58
8.2.180.0420.00522.58
8.2.170.0400.00422.58
8.2.160.0380.00922.58
8.2.150.0340.00922.58
8.2.140.0370.01022.58
8.2.130.0390.01022.58
8.2.120.0320.00822.58
8.2.110.0260.00722.58
8.2.100.0250.00422.58
8.2.90.0240.00922.58
8.2.80.0250.00922.58
8.2.70.0240.00622.58
8.2.60.0230.00722.58
8.2.50.0300.00222.58
8.2.40.0220.00822.58
8.2.30.0250.00422.58
8.2.20.0280.00622.58
8.2.10.0210.01122.58
8.2.00.0210.00522.58
8.1.330.0110.00816.04
8.1.320.0150.00416.17
8.1.310.0090.00015.84
8.1.300.0060.00319.61
8.1.290.0200.01022.58
8.1.280.0300.00822.58
8.1.270.0230.00722.58
8.1.260.0260.00822.58
8.1.250.0230.00522.58
8.1.240.0220.00422.58
8.1.230.0260.00922.58
8.1.220.0320.00622.58
8.1.210.0310.00922.58
8.1.200.0330.00922.58
8.1.190.0320.00822.58
8.1.180.0330.00622.58
8.1.170.0340.00322.58
8.1.160.0330.00622.58
8.1.150.0390.00522.58
8.1.140.0320.00522.58
8.1.130.0300.00922.58
8.1.120.0300.00922.58
8.1.110.0290.00822.58
8.1.100.0290.01022.58
8.1.90.0250.01722.58
8.1.80.0270.00922.58
8.1.70.0260.00622.58
8.1.60.0420.00222.58
8.1.50.0320.01022.58
8.1.40.0260.01122.58
8.1.30.0300.01122.58
8.1.20.0390.00622.58
8.1.10.0300.01222.58
8.1.00.0270.01222.58

preferences:
30.23 ms | 403 KiB | 5 Q