3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace PHPStan { function dumpType ($input) { var_dump($input);} } namespace { function checkMe(int $data) { $data = bcmul((string) $data, '100', 2); \PHPStan\dumpType($data); \PHPStan\dumpType(round($data)); } var_dump(round(false)); checkMe(3); }

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.0110.00716.65
8.5.00.0140.01319.79
8.4.160.0100.01223.75
8.4.150.0020.00014.05
8.4.140.0090.01117.32
8.4.130.0110.01217.70
8.4.120.0120.00820.63
8.4.110.0080.00118.78
8.4.100.0140.00718.43
8.4.90.0100.01018.75
8.4.80.0110.00818.64
8.4.70.0080.00717.77
8.4.60.0090.00820.28
8.4.50.0120.00920.54
8.4.40.0160.00319.00
8.4.30.0130.00618.83
8.4.20.0080.01119.84
8.4.10.0040.00419.32
8.3.280.0120.00818.17
8.3.270.0090.01116.23
8.3.260.0100.01016.33
8.3.250.0150.00418.83
8.3.240.0060.00218.95
8.3.230.0120.00916.55
8.3.220.0090.00818.85
8.3.210.0080.00518.22
8.3.200.0050.00316.66
8.3.190.0060.00317.05
8.3.180.0060.00216.42
8.3.170.0080.00016.67
8.3.160.0110.00316.49
8.3.150.0150.00417.11
8.3.140.0050.00316.36
8.3.130.0080.00018.54
8.3.120.0000.01020.87
8.3.110.0000.00820.94
8.3.100.0060.01316.43
8.3.90.0270.00026.77
8.3.80.0180.00626.77
8.3.70.0240.00426.77
8.3.60.0350.01326.77
8.3.50.0240.00826.77
8.3.40.0320.00026.77
8.3.30.0180.00926.77
8.3.20.0160.00526.77
8.3.10.0190.00826.77
8.3.00.0140.00726.77
8.2.290.0110.00820.56
8.2.280.0050.00420.13
8.2.270.0130.00617.34
8.2.260.0140.00718.41
8.2.250.0080.00016.54
8.2.240.0070.01117.13
8.2.230.0090.00022.58
8.2.220.0030.00624.06
8.2.210.0160.00326.77
8.2.200.0140.00726.77
8.2.190.0100.01026.77
8.2.180.0190.00026.77
8.2.170.0170.00426.77
8.2.160.0170.00426.77
8.2.150.0230.00026.77
8.2.140.0210.00026.77
8.2.130.0160.00526.77
8.2.120.0170.00326.77
8.2.110.0100.00726.77
8.2.100.0190.00026.77
8.2.90.0130.00426.77
8.2.80.0120.00526.77
8.2.70.0150.00026.77
8.2.60.0120.00326.77
8.2.50.0160.00326.77
8.2.40.0050.01026.77
8.2.30.0170.00026.77
8.2.20.0140.00026.77
8.2.10.0150.00326.77
8.2.00.0130.00326.77
8.1.330.0110.00821.88
8.1.320.0060.01415.96
8.1.310.0040.00416.70
8.1.300.0060.00318.00
8.1.290.0060.00826.77
8.1.280.0070.00726.77
8.1.270.0080.00826.77
8.1.260.0190.00026.77
8.1.250.0070.00726.77
8.1.240.0170.00026.77
8.1.230.0060.00626.77
8.1.220.0100.00626.77
8.1.210.0090.00926.77
8.1.200.0070.01126.77
8.1.190.0190.00026.77
8.1.180.0140.00326.77
8.1.170.0120.00626.77
8.1.160.0170.00026.77
8.1.150.0110.00526.77
8.1.140.0130.00326.77
8.1.130.0170.00026.77
8.1.120.0110.00426.77
8.1.110.0100.00326.77
8.1.100.0110.00726.77
8.1.90.0120.00426.77
8.1.80.0130.00326.77
8.1.70.0110.00526.77
8.1.60.0110.00526.77
8.1.50.0130.00326.77
8.1.40.0100.00626.77
8.1.30.0130.00326.77
8.1.20.0080.00826.77
8.1.10.0180.00026.77
8.1.00.0130.00326.77

preferences:
35.71 ms | 403 KiB | 5 Q