3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Point { public function __construct( public float $x, public float $y = 0.0, public float $z = 0.0, ) {} } foreach ((new ReflectionClass(Point::class))->getProperties() as $property) { var_dump($property->name); }

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.80.0110.00316.75
8.5.70.0100.00718.31
8.5.60.0030.00416.76
8.5.50.0080.00916.48
8.5.30.0100.00818.70
8.5.20.0110.00716.58
8.5.10.0110.00816.61
8.5.00.0130.01019.95
8.4.230.0110.01019.41
8.4.220.0100.00924.02
8.4.210.0120.01119.49
8.4.180.0130.00923.85
8.4.170.0170.00921.87
8.4.160.0120.01023.70
8.4.150.0090.00416.87
8.4.140.0090.01117.25
8.4.130.0140.00517.88
8.4.120.0130.00720.52
8.4.110.0090.00818.84
8.4.100.0130.00618.84
8.4.90.0070.01224.00
8.4.80.0120.00518.36
8.4.70.0130.00718.19
8.4.60.0130.00818.86
8.4.50.0140.00618.39
8.4.40.0130.00319.11
8.4.30.0060.00322.30
8.4.20.0030.01717.66
8.4.10.0060.00919.38
8.3.320.0040.00518.27
8.3.310.0100.00618.33
8.3.300.0100.01120.16
8.3.290.0120.00718.29
8.3.280.0080.00316.21
8.3.270.0130.00716.50
8.3.260.0090.00916.45
8.3.250.0050.00418.85
8.3.240.0110.00816.65
8.3.230.0040.00516.65
8.3.220.0060.00219.13
8.3.210.0050.00216.78
8.3.200.0060.00316.59
8.3.190.0100.00917.01
8.3.180.0100.00617.28
8.3.170.0070.01118.68
8.3.160.0100.01016.56
8.3.150.0060.01318.63
8.3.140.0080.00018.54
8.3.130.0050.00318.53
8.3.120.0000.01119.03
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0140.00426.77
8.3.80.0060.00319.36
8.3.70.0090.00918.52
8.3.60.0070.00718.55
8.3.50.0120.00823.72
8.3.40.0040.01118.54
8.3.30.0110.00418.59
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.320.0160.00617.99
8.2.310.0060.01018.03
8.2.300.0110.01117.98
8.2.290.0050.00420.44
8.2.280.0090.01118.24
8.2.270.0070.00717.17
8.2.260.0060.01217.11
8.2.250.0170.00316.43
8.2.240.0030.00617.23
8.2.230.0000.00822.58
8.2.220.0050.00337.54
8.2.210.0110.00826.77
8.2.200.0030.00618.88
8.2.190.0140.00716.58
8.2.180.0090.00625.92
8.2.170.0110.00318.79
8.2.160.0110.00322.96
8.2.150.0000.00825.66
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0050.00221.18
8.2.110.0060.00320.47
8.2.100.0030.00718.78
8.1.340.0100.00917.51
8.1.330.0110.00816.29
8.1.320.0040.00517.52
8.1.310.0070.01017.64
8.1.300.0100.00018.04
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0060.00318.56
8.1.230.0040.00418.63
8.0.00.0090.01516.89
7.4.130.0100.01016.70
7.4.120.0120.01216.31
7.4.110.0070.01116.16
7.4.100.0070.01016.32
7.4.90.0100.00716.10
7.4.80.0070.01016.19
7.4.70.0180.00616.13
7.4.60.0140.00416.15
7.4.50.0030.01516.08
7.4.40.0040.01816.35
7.4.30.0070.01416.45
7.4.20.0140.00716.46
7.4.10.0130.00616.27
7.4.00.0140.00416.41
7.3.250.0130.01016.21
7.3.240.0100.01316.13
7.3.230.0230.00016.16
7.3.220.0090.01216.14
7.3.210.0080.00816.19
7.3.200.0170.00716.22
7.3.190.0130.01016.13
7.3.180.0120.00616.25
7.3.170.0130.00916.15
7.3.160.0150.00616.28
7.3.150.0040.01816.14
7.3.140.0070.01016.16
7.3.130.0000.01816.18
7.3.120.0130.00316.20
7.3.110.0060.01215.98
7.3.100.0120.00616.10
7.3.90.0160.00716.24
7.3.80.0100.00916.39
7.3.70.0100.01616.17
7.3.60.0170.00316.13
7.3.50.0130.01016.23
7.3.40.0120.00916.14
7.3.30.0110.01416.23
7.3.20.0090.01716.24
7.3.10.0120.01216.11
7.3.00.0140.01116.16

preferences:
54.27 ms | 1067 KiB | 5 Q