3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myXMLReader extends XMLReader { } $r1 = myXMLReader::XML('foo'); var_dump(get_debug_type($r1)); $r2 = new myXMLReader; $r2->XML('foo'); var_dump(get_debug_type($r2));

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.0100.01117.80
8.4.130.0140.00817.71
8.4.120.0110.00920.54
8.4.110.0130.00618.76
8.4.100.0070.00317.77
8.4.90.0100.01117.71
8.4.80.0060.00517.85
8.4.70.0150.00519.82
8.4.60.0120.00817.68
8.4.50.0160.00618.66
8.4.40.0170.00318.98
8.4.30.0060.01320.71
8.4.20.0100.01019.81
8.4.10.0040.00719.38
8.3.270.0120.00716.50
8.3.260.0110.00916.64
8.3.250.0140.00618.85
8.3.240.0110.00916.98
8.3.230.0090.01016.27
8.3.220.0110.00817.30
8.3.210.0110.00816.89
8.3.200.0090.01016.34
8.3.190.0110.01016.82
8.3.180.0120.00717.48
8.3.170.0110.00722.88
8.3.160.0140.00416.87
8.3.150.0040.01617.38
8.3.140.0040.00417.20
8.3.130.0120.00618.40
8.3.120.0060.00318.85
8.3.110.0120.00420.94
8.3.100.0070.00324.06
8.3.90.0040.00426.77
8.3.80.0040.00418.68
8.3.70.0100.00616.50
8.3.60.0420.00825.92
8.3.50.0180.00525.92
8.3.40.0260.01525.92
8.3.30.0360.00725.92
8.3.20.0330.01125.92
8.3.10.0290.01225.92
8.3.00.0360.00925.92
8.2.290.0120.00620.58
8.2.280.0090.00816.71
8.2.270.0040.01417.37
8.2.260.0000.00818.48
8.2.250.0070.01318.38
8.2.240.0040.01220.78
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0110.00426.77
8.2.200.0040.00416.63
8.2.190.0060.00818.56
8.2.180.0320.00825.92
8.2.170.0320.01025.92
8.2.160.0330.01025.92
8.2.150.0260.01325.92
8.2.140.0330.00925.92
8.2.130.0400.00825.92
8.2.120.0350.00825.92
8.2.110.0380.00625.92
8.2.100.0350.01125.92
8.2.90.0420.00425.92
8.2.80.0300.00925.92
8.2.70.0300.00925.92
8.2.60.0340.01325.92
8.2.50.0500.00525.92
8.2.40.0360.01325.92
8.2.30.0300.00925.92
8.2.20.0290.01125.92
8.2.10.0410.00625.92
8.2.00.0310.01025.92
8.1.330.0120.00621.93
8.1.320.0150.00516.43
8.1.310.0040.00416.95
8.1.300.0060.00319.90
8.1.290.0070.00330.84
8.1.280.0310.01425.92
8.1.270.0430.00525.92
8.1.260.0350.00725.92
8.1.250.0350.00525.92
8.1.240.0350.00725.92
8.1.230.0340.00525.92
8.1.220.0230.01225.92
8.1.210.0270.00725.92
8.1.200.0300.00325.92
8.1.190.0200.01425.92
8.1.180.0270.00725.92
8.1.170.0250.01025.92
8.1.160.0280.00725.92
8.1.150.0260.00625.92
8.1.140.0320.00625.92
8.1.130.0300.00725.92
8.1.120.0320.01125.92
8.1.110.0300.00525.92
8.1.100.0320.00925.92
8.1.90.0330.01125.92
8.1.80.0280.00925.92
8.1.70.0300.00825.92
8.1.60.0370.00525.92
8.1.50.0290.01225.92
8.1.40.0290.01525.92
8.1.30.0320.00625.92
8.1.20.0400.00325.92
8.1.10.0360.01025.92
8.1.00.0370.00825.92

preferences:
38.31 ms | 403 KiB | 5 Q