3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Demo { final public string $v; public function __construct( string $v ) { $this->v = $v; } } $d = new Demo( "FOO" ); var_dump( $d ); $r = new ReflectionProperty( Demo::class, 'v' ); var_dump( $r->isFinal() );

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.40.0270.00918.15
8.4.30.0360.01817.38
8.4.20.0300.00417.51
8.4.10.0290.00017.18
8.3.170.0250.00616.34
8.3.160.0280.00716.58
8.3.150.0210.00016.46
8.3.140.0310.00816.17
8.3.130.0280.00816.13
8.3.120.0300.00316.34
8.3.110.0280.00616.43
8.3.100.0440.00316.57
8.3.90.0310.00916.40
8.3.80.0160.00516.46
8.3.70.0360.00716.18
8.3.60.0390.00516.38
8.3.50.0310.00416.17
8.3.40.0330.00717.22
8.3.30.0280.01217.34
8.3.20.0280.01317.51
8.3.10.0390.00617.24
8.3.00.0200.00717.31
8.2.270.0280.01116.36
8.2.260.0350.00316.34
8.2.250.0260.01216.40
8.2.240.0240.01516.26
8.2.230.0280.01116.22
8.2.220.0290.01016.52
8.2.210.0270.01216.26
8.2.200.0280.00916.35
8.2.190.0270.01216.50
8.2.180.0350.00416.35
8.2.170.0310.01017.55
8.2.160.0390.00317.37
8.2.150.0230.01717.46
8.2.140.0320.00817.29
8.2.130.0270.01217.34
8.2.120.0290.01117.48
8.2.110.0430.00017.49
8.2.100.0330.00617.63
8.2.90.0310.01317.62
8.2.80.0320.00317.42
8.2.70.0290.00617.23
8.2.60.0350.00417.22
8.2.50.0280.01017.39
8.2.40.0250.00717.38
8.2.30.0200.00317.43
8.2.20.0270.00717.39
8.2.10.0280.01217.47
8.2.00.0330.00817.38

preferences:
150.9 ms | 997 KiB | 7 Q