3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Route { use Getter; private string $url; private string $controllerName; public function __construct(string $url, string $controllerName) { $this->url = $url; $this->controllerName = $controllerName; } }

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.0050.00516.73
8.5.00.0110.01120.06
8.4.160.0090.01223.77
8.4.150.0020.00014.05
8.4.140.0130.00817.52
8.4.130.0120.00817.89
8.4.120.0130.00720.62
8.4.110.0060.00522.65
8.4.100.0130.00817.66
8.4.90.0140.00722.34
8.4.80.0060.00319.49
8.4.70.0100.01218.13
8.4.60.0120.00918.90
8.4.50.0130.01020.69
8.4.40.0030.01717.39
8.4.30.0060.00318.94
8.4.20.0160.00418.18
8.4.10.0050.00319.56
8.3.290.0090.01120.80
8.3.280.0100.01018.29
8.3.270.0120.00716.45
8.3.260.0090.00816.73
8.3.250.0110.00918.98
8.3.240.0130.00716.77
8.3.230.0070.00816.61
8.3.220.0030.00519.13
8.3.210.0030.00418.70
8.3.200.0050.00416.86
8.3.190.0040.00517.03
8.3.180.0040.00416.73
8.3.170.0140.00420.69
8.3.160.0120.00617.13
8.3.150.0110.00717.27
8.3.140.0120.00616.71
8.3.130.0030.00618.48
8.3.120.0030.00619.00
8.3.110.0060.00316.73
8.3.100.0030.00624.06
8.3.90.0090.00026.77
8.3.80.0060.00317.97
8.3.70.0110.00716.63
8.3.60.0070.01118.38
8.3.50.0110.00716.62
8.3.40.0100.00320.52
8.3.30.0040.01120.19
8.3.20.0030.00624.18
8.3.10.0040.00424.66
8.3.00.0160.00328.09
8.2.300.0060.00422.11
8.2.290.0050.00320.48
8.2.280.0040.00318.13
8.2.270.0000.01716.99
8.2.260.0140.00016.38
8.2.250.0080.00018.14
8.2.240.0130.00617.15
8.2.230.0050.00520.94
8.2.220.0080.00037.54
8.2.210.0110.00426.77
8.2.200.0000.00916.37
8.2.190.0140.00418.05
8.2.180.0070.00716.63
8.2.170.0130.00718.96
8.2.160.0090.00922.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0120.00628.09
8.2.120.0100.01028.09
8.2.110.0110.00728.09
8.2.100.0090.00928.09
8.2.90.0110.00728.09
8.2.80.0090.00628.09
8.2.70.0070.00728.09
8.2.60.0110.00728.09
8.2.50.0070.01128.09
8.2.40.0060.01228.09
8.2.30.0100.01028.09
8.2.20.0110.00728.09
8.2.10.0100.01028.09
8.2.00.0100.01028.09
8.1.340.0130.00821.55
8.1.330.0090.00921.68
8.1.320.0140.00516.15
8.1.310.0140.00018.49
8.1.300.0060.00316.67
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0050.00322.13
8.1.260.0160.00028.09
8.1.250.0080.01228.09
8.1.240.0030.01328.09
8.1.230.0160.00028.09
8.1.220.0170.00328.09
8.1.210.0130.00628.09
8.1.200.0040.01128.09
8.1.190.0150.00028.09
8.1.180.0120.00328.09
8.1.170.0120.00328.09
8.1.160.0040.01128.09
8.1.150.0140.00428.09
8.1.140.0120.00628.09
8.1.130.0090.00928.09
8.1.120.0090.00628.09
8.1.110.0040.00428.09
8.1.100.0030.00528.09
8.1.90.0030.00528.09
8.1.80.0040.00428.09
8.1.70.0000.00828.09
8.1.60.0080.00028.09
8.1.50.0080.00028.09
8.1.40.0080.00028.09
8.1.30.0030.00528.09
8.1.20.0080.00028.09
8.1.10.0000.00828.09
8.1.00.0040.00428.09

preferences:
91.27 ms | 403 KiB | 5 Q