3v4l.org

run code in 300+ PHP versions simultaneously
<?php $interval = new \DateInterval('PT0S'); $unit = 'h'; $interval->$unit += 0; var_dump($interval->h);

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.0120.00917.48
8.4.130.0130.00717.70
8.4.120.0140.00623.89
8.4.110.0120.00922.56
8.4.100.0110.01018.57
8.4.90.0140.00618.97
8.4.80.0130.00718.63
8.4.70.0040.00417.68
8.4.60.0160.00519.37
8.4.50.0120.01017.83
8.3.260.0110.00816.48
8.3.250.0130.00918.62
8.3.240.0120.00717.00
8.3.230.0100.00416.63
8.3.220.0050.00319.01
8.3.210.0310.00616.41
8.3.200.0260.00917.18
8.3.190.0200.00716.34
8.3.180.0140.00616.79
8.3.50.0100.01016.45
8.2.290.0130.00520.46
8.2.280.0080.01016.66

preferences:
49.22 ms | 403 KiB | 5 Q