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.4.140.0100.01117.66
8.4.130.0080.00218.89
8.4.120.0120.00824.17
8.4.110.0110.00920.69
8.4.100.0120.00817.46
8.4.90.0130.00717.69
8.4.80.0070.00317.85
8.4.70.0060.00217.60
8.4.60.0090.01018.96
8.4.50.0080.01218.80
8.4.40.0060.00317.57
8.4.30.0120.00618.71
8.4.20.0040.01217.84
8.4.10.0120.00419.41
8.3.270.0110.00816.44
8.3.260.0050.00716.64
8.3.250.0080.00718.62
8.3.240.0110.00816.41
8.3.230.0100.01016.52
8.3.220.0060.00917.26
8.3.210.0090.00918.21
8.3.200.0070.00916.62
8.3.190.0100.00818.98
8.3.180.0110.00718.87
8.3.170.0040.00420.85
8.3.160.0090.00918.82
8.3.150.0000.01816.98
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.290.0100.00518.45
8.2.280.0090.01020.23
8.2.270.0150.00317.22
8.2.260.0140.00418.52
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.330.0120.00916.34
8.1.320.0100.01017.96
8.1.310.0000.00816.55
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:
64.59 ms | 403 KiB | 5 Q