3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace cars; class car { } $car = new cars\car(); echo $car::class;

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.3.40.0120.00318.63
8.3.30.0000.01518.54
8.3.20.0040.00420.39
8.3.10.0080.00021.58
8.3.00.0000.00721.73
8.2.170.0130.00722.96
8.2.160.0060.01220.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0050.00220.93
8.2.110.0030.00622.27
8.2.100.0030.00618.71
8.1.270.0000.00822.15
8.1.260.0030.00626.35
8.1.250.0000.00828.09
8.1.240.0030.00618.50
8.1.230.0060.00318.29
7.0.20.0300.07720.25
7.0.10.0070.08720.19
7.0.00.0100.07320.06
5.6.170.0230.08320.71
5.6.160.0130.05320.52
5.6.150.0030.08318.16
5.6.140.0070.07318.20
5.6.130.0000.08718.27
5.6.120.0170.06720.94
5.6.110.0070.05721.11
5.6.100.0130.04021.09
5.6.90.0070.05320.96
5.6.80.0100.07720.42
5.5.310.0200.05720.51
5.5.300.0130.06717.99
5.5.290.0130.07017.98
5.5.280.0130.07720.87
5.5.270.0070.05720.97
5.5.260.0070.07320.79
5.5.250.0070.03720.69
5.5.240.0170.06720.24

preferences:
37.83 ms | 400 KiB | 5 Q