3v4l.org

run code in 500+ PHP versions simultaneously
<?php class 🦜 { public function __construct( public int $🐦, public ?string $🦃, ) { } } $🐓 = new 🦜(1234, "birb"); echo $🐓->🐦;

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.30.0240.00316.23
8.5.20.0250.00616.38
8.5.10.0280.00716.49
8.5.00.0270.00516.30
8.4.180.0320.01019.67
8.4.170.0370.00819.77
8.4.160.0270.00819.59
8.4.150.0240.00919.73
8.4.140.0170.00317.71
8.4.130.0270.01217.57
8.4.120.0320.00817.91
8.4.110.0350.01217.75
8.4.100.0290.00517.77
8.4.90.0180.00317.91
8.4.80.0190.00417.68
8.4.70.0340.01217.73
8.4.60.0350.01017.74
8.4.50.0370.00817.71
8.4.40.0400.00817.45
8.4.30.0360.00917.64
8.4.20.0400.00817.77
8.4.10.0430.00817.58
8.3.300.0080.00418.04
8.3.290.0220.00918.05
8.3.280.0310.00818.06
8.3.270.0380.01016.55
8.3.260.0310.00616.61
8.3.250.0290.00616.59
8.3.240.0290.00916.49
8.3.230.0220.00216.64
8.3.220.0340.00916.44
8.3.210.0340.00516.64
8.3.200.0300.00916.59
8.3.190.0280.00816.54
8.3.180.0310.00416.59
8.3.170.0320.00416.59
8.3.160.0360.00916.56
8.3.150.0350.01116.68
8.3.140.0390.01016.60
8.3.130.0160.00816.66
8.3.120.0230.00116.64
8.3.110.0330.00916.58
8.3.100.0400.00716.44
8.3.90.0400.00616.61
8.3.80.0360.01016.36
8.3.70.0370.00416.66
8.3.60.0360.01116.73
8.3.50.0400.00716.57
8.3.40.0240.00618.03
8.3.30.0280.00717.77
8.3.20.0250.01117.80
8.3.10.0320.00717.75
8.3.00.0240.00617.96

preferences:
44.24 ms | 698 KiB | 5 Q