3v4l.org

run code in 300+ PHP versions simultaneously
<?php $create = 'Datetime::createFromFormat'; $invoke = [new stdClass, '__invoke']; var_dump(is_callable($create), is_callable($invoke));

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.20.0100.00819.81
8.5.10.0120.00716.61
8.5.00.0110.01019.83
8.4.170.0100.01220.48
8.4.160.0110.01423.93
8.4.150.0030.00014.05
8.4.140.0100.01017.52
8.4.130.0140.00417.59
8.4.120.0110.00820.69
8.4.110.0100.01122.54
8.4.100.0120.00617.78
8.4.90.0110.00920.38
8.4.80.0070.01218.65
8.4.70.0030.00422.25
8.4.60.0130.00720.52
8.4.50.0090.00718.68
8.4.40.0090.00617.64
8.4.30.0330.00317.37
8.4.20.0260.00817.26
8.4.10.0210.00917.41
8.3.300.0100.01120.37
8.3.290.0140.00820.55
8.3.280.0110.00818.14
8.3.270.0130.00616.61
8.3.260.0120.00716.26
8.3.250.0050.00318.82
8.3.240.0030.00516.43
8.3.230.0110.00816.24
8.3.220.0040.00418.78
8.3.210.0110.00818.46
8.3.200.0040.00716.31
8.3.190.0090.00917.12
8.3.180.0120.00718.96
8.3.170.0110.00717.20
8.3.160.0370.00816.02
8.3.150.0340.00916.17
8.3.140.0300.01016.40
8.3.130.0340.00616.41
8.3.120.0290.01216.28
8.3.110.0300.01316.41
8.3.100.0370.01016.24
8.3.90.0420.00416.20
8.3.80.0340.00916.21
8.3.70.0340.00916.24
8.3.60.0360.00916.34
8.3.50.0340.01016.47
8.3.40.0310.01417.21
8.3.30.0310.00517.30
8.3.20.0310.00817.15
8.3.10.0300.00517.23
8.3.00.0110.01217.32
8.2.300.0090.01123.88
8.2.290.0130.00718.29
8.2.280.0110.00818.20
8.2.270.0290.00916.70
8.2.260.0290.01216.44
8.2.250.0290.01016.36
8.2.240.0310.00716.41
8.2.230.0260.01316.30
8.2.220.0280.01316.55
8.2.210.0320.00816.57
8.2.200.0300.01116.58
8.2.190.0310.00916.44
8.2.180.0250.00816.27
8.2.170.0300.00617.41
8.2.160.0310.00817.57
8.2.150.0260.01317.40
8.2.140.0330.00617.49
8.2.130.0340.00617.18
8.2.120.0360.00717.49
8.2.110.0340.00717.57
8.2.100.0300.00817.23
8.2.90.0300.00917.35
8.2.80.0360.00917.36
8.2.70.0360.00517.38
8.2.60.0310.00317.34
8.2.50.0290.00317.50
8.2.40.0290.00517.22
8.2.30.0310.00517.21
8.2.20.0360.00617.13
8.2.10.0280.00817.49
8.2.00.0260.00917.43
8.1.340.0110.01017.70
8.1.320.0100.00815.93

preferences:
30.5 ms | 403 KiB | 5 Q