3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct($arg = NULL) { print func_num_args()."\n"; } } new A(); new A(NULL);

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.3.140.0040.01416.53
8.3.130.0050.00318.29
8.3.120.0090.00018.84
8.3.110.0070.00420.94
8.3.100.0030.00624.06
8.3.90.0110.00026.77
8.3.80.0030.00616.38
8.3.70.0120.00916.58
8.3.60.0130.00318.53
8.3.50.0110.00418.09
8.3.40.0100.00321.86
8.3.30.0070.00722.07
8.3.20.0150.00425.66
8.3.10.0150.00325.66
8.3.00.0110.00725.66
8.2.250.0070.01118.19
8.2.240.0030.00617.16
8.2.230.0060.00322.58
8.2.220.0000.00837.54
8.2.210.0030.00526.77
8.2.200.0040.00416.50
8.2.190.0120.00916.58
8.2.180.0030.01416.50
8.2.170.0110.00318.88
8.2.160.0100.00322.96
8.2.150.0150.00325.66
8.2.140.0160.00325.66
8.2.130.0160.00325.66
8.2.120.0060.01225.66
8.2.110.0130.00625.66
8.2.100.0000.01525.66
8.2.90.0130.00725.66
8.2.80.0070.00725.66
8.2.70.0060.00325.66
8.2.60.0080.00025.66
8.2.50.0050.00325.66
8.2.40.0050.00325.66
8.2.30.0090.00625.66
8.2.20.0080.00825.66
8.2.10.0080.00025.66
8.2.00.0000.01625.66
8.1.300.0080.00019.43
8.1.290.0100.00730.84
8.1.280.0100.00325.92
8.1.270.0040.00425.66
8.1.260.0050.00325.66
8.1.250.0030.01025.66
8.1.240.0090.00625.66
8.1.230.0090.00625.66
8.1.220.0060.00925.66
8.1.210.0040.00425.66
8.1.200.0100.00725.66
8.1.190.0080.00425.66
8.1.180.0040.00425.66
8.1.170.0040.00425.66
8.1.160.0080.00025.66
8.1.150.0040.00425.66
8.1.140.0040.00425.66
8.1.130.0030.00525.66
8.1.120.0030.00525.66
8.1.110.0060.00325.66
8.1.100.0060.00325.66
8.1.90.0090.00025.66
8.1.80.0060.00325.66
8.1.70.0080.00025.66
8.1.60.0060.00325.66
8.1.50.0050.00325.66
8.1.40.0050.00325.66
8.1.30.0050.00325.66
8.1.20.0030.00525.66
8.1.10.0030.00625.66
8.1.00.0030.00625.66

preferences:
30.47 ms | 403 KiB | 5 Q