3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(string $param) { var_dump($param); } define('exit', 'xxx'); test(exit);

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.10.0120.00419.35
8.5.00.0150.01019.86
8.4.160.0150.00923.87
8.4.150.0020.00014.05
8.4.140.0100.01117.36
8.4.130.0140.00817.89
8.4.120.0140.00718.52
8.4.110.0100.01018.72
8.4.100.0120.00817.76
8.4.90.0130.00820.34
8.4.80.0150.00418.75
8.4.70.0120.00518.61
8.4.60.0110.00820.38
8.4.50.0120.00920.41
8.4.40.0080.01217.53
8.4.30.0090.00920.52
8.4.20.0070.01119.64
8.4.10.0100.01019.23
8.3.280.0100.01018.37
8.3.270.0100.01016.27
8.3.260.0080.01216.44
8.3.250.0080.01018.89
8.3.240.0110.00816.38
8.3.230.0090.00916.41
8.3.220.0140.00418.89
8.3.210.0110.00816.49
8.3.200.0060.00316.50
8.3.190.0130.00617.18
8.3.180.0080.00918.94
8.3.170.0140.00418.95
8.3.160.0090.00616.51
8.3.150.0130.00616.48
8.3.140.0000.01016.80
8.3.130.0080.00018.39
8.3.120.0040.00420.53
8.3.110.0040.01616.32
8.3.100.0130.00716.59
8.3.90.0130.00616.54
8.3.80.0270.00616.50
8.3.70.0120.01216.63
8.3.60.0130.00716.63
8.3.50.0170.00316.75
8.3.40.0110.01117.75
8.3.30.0190.00317.13
8.3.20.0140.00717.25
8.3.10.0230.00617.00
8.3.00.0160.00917.24
8.2.290.0080.01116.63
8.2.280.0120.00718.23
8.2.270.0070.01116.84
8.2.260.0060.01216.63
8.2.250.0050.00316.78
8.2.240.0090.00616.89
8.2.230.0160.00316.32
8.2.220.0140.00616.50
8.2.210.0190.00016.29
8.2.200.0140.00716.38
8.2.190.0040.01216.36
8.2.180.0100.01016.50
8.2.170.0180.00017.50
8.2.160.0220.00417.24
8.2.150.0160.00617.38
8.2.140.0090.00917.50
8.2.130.0160.00317.47
8.2.120.0190.00017.25
8.2.110.0100.00717.50
8.2.100.0130.01017.50
8.2.90.0110.00817.75
8.2.80.0060.01017.38
8.2.70.0060.01217.49
8.2.60.0070.01117.38
8.2.50.0090.00617.50
8.2.40.0110.00817.48
8.2.30.0160.00317.50
8.2.20.0060.01317.38
8.2.10.0080.00417.13
8.2.00.0040.01617.50
8.1.330.0100.00816.25
8.1.320.0100.00917.91
8.1.310.0040.00416.54
8.1.300.0060.00315.96
8.1.290.0060.00316.13
8.1.280.0090.00016.13
8.1.270.0100.01017.18
8.1.260.0130.00617.36
8.1.250.0070.00317.00
8.1.240.0090.00017.23
8.1.230.0040.00417.35
8.1.220.0200.00317.23
8.1.210.0170.00317.23
8.1.200.0130.00617.23
8.1.190.0030.00717.10
8.1.180.0090.00016.97
8.1.170.0060.01317.25
8.1.160.0060.01217.10
8.1.150.0030.00617.22
8.1.140.0090.00517.13
8.1.130.0100.00317.09
8.1.120.0100.00717.23
8.1.110.0090.00617.22
8.1.100.0040.00417.23
8.1.90.0030.00617.22
8.1.80.0080.00017.22
8.1.70.0000.00817.22
8.1.60.0060.00317.35
8.1.50.0040.00417.35
8.1.40.0130.00717.38
8.1.30.0110.00817.13
8.1.20.0150.00317.47
8.1.10.0100.00617.35
8.1.00.0050.00517.22

preferences:
72.82 ms | 403 KiB | 5 Q