3v4l.org

run code in 500+ PHP versions simultaneously
<?php const A = 'b::c'; class B { static function C() { echo __METHOD__; } } //valid call to \B::C() constant('A')(); // class A not found //new A; // Call to undefined function A() A(); // parse error, this is not supported //{A}();

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.5.60.0080.00816.99
8.5.50.0020.00518.43
8.5.30.0070.01019.47
8.5.20.0100.00920.23
8.5.10.0090.00816.72
8.5.00.0160.00521.84
8.4.210.0100.00619.52
8.4.180.0150.00619.75
8.4.170.0140.00723.85
8.4.160.0110.00923.83
8.4.150.0080.00417.00
8.4.140.0120.00917.61
8.4.130.0130.00817.72
8.4.120.0070.00620.34
8.4.110.0070.00422.30
8.4.100.0120.00817.94
8.4.90.0100.01117.84
8.4.80.0060.00318.11
8.4.70.0070.00819.56
8.4.60.0440.00917.29
8.4.50.0340.00917.93
8.4.40.0420.00717.50
8.4.30.0390.01017.43
8.4.20.0330.00817.79
8.4.10.0350.00817.48
8.3.300.0130.00919.07
8.3.290.0130.00620.82
8.3.280.0100.01018.52
8.3.270.0140.00516.77
8.3.260.0120.00716.94
8.3.250.0130.00719.21
8.3.240.0040.00616.69
8.3.230.0100.00816.87
8.3.220.0120.00716.84
8.3.210.0110.00716.63
8.3.200.0060.01316.43
8.3.190.0380.00916.55
8.3.180.0350.00816.80
8.3.170.0260.01116.36
8.3.160.0300.01016.50
8.3.150.0420.00616.44
8.3.140.0370.01016.38
8.3.130.0320.00916.62
8.3.120.0350.00916.51
8.3.110.0330.00916.80
8.3.100.0360.00916.47
8.3.90.0440.00616.49
8.3.80.0370.01116.48
8.3.70.0430.00616.73
8.3.60.0400.01016.49
8.3.50.0500.00616.48
8.3.40.0390.00817.49
8.3.30.0320.01017.55
8.3.20.0370.00417.64
8.3.10.0310.00717.52
8.3.00.0250.01017.51
8.2.300.0170.00218.81
8.2.290.0060.00420.31
8.2.280.0270.01116.80
8.2.270.0320.00816.52
8.2.260.0340.00616.56
8.2.250.0320.00916.51
8.2.240.0330.00616.50
8.2.230.0380.00816.48
8.2.220.0190.00816.61
8.2.210.0130.00516.64
8.2.200.0250.01116.44
8.2.190.0290.00716.59
8.2.180.0300.01016.61
8.2.170.0320.01117.84
8.2.160.0350.01117.62
8.2.150.0300.01117.51
8.2.140.0350.00717.44
8.2.130.0340.00817.24
8.2.120.0320.01017.51
8.2.110.0310.01117.57
8.2.100.0290.00717.52
8.2.90.0220.01117.75
8.2.80.0310.01317.20
8.2.70.0350.00917.45
8.2.60.0330.01217.32
8.2.50.0360.00417.66
8.2.40.0290.00917.76
8.2.30.0210.00217.60
8.2.20.0250.00917.37
8.2.10.0260.00617.51
8.2.00.0230.00617.48
8.1.340.0100.01117.69

preferences:
44.3 ms | 859 KiB | 5 Q