3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SG_Endpoint{ var $secret_password; public function __construct( $secret_password ){ $this->secret_password = $secret_password; } } $sgendpoint = new SG_Endpoint( "foobar" ); echo $sgendpoint->secret_password

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)
5.4.60.0180.04111.99
5.4.50.0260.06411.99
5.4.40.0150.04411.98
5.4.30.0170.04411.98
5.4.20.0180.04111.98
5.4.10.0170.04311.98
5.4.00.0150.04411.48
5.3.160.0220.04412.67
5.3.150.0180.04712.67
5.3.140.0180.04712.66
5.3.130.0160.04912.65
5.3.120.0220.04512.66
5.3.110.0170.04912.66
5.3.100.0200.04512.12
5.3.90.0230.07212.10
5.3.80.0160.04712.08
5.3.70.0180.04912.08
5.3.60.0180.04812.07
5.3.50.0210.04212.02
5.3.40.0190.04312.02
5.3.30.0170.04611.99
5.3.20.0180.04811.77
5.3.10.0210.05711.73
5.3.00.0220.04311.71

preferences:
139.17 ms | 1394 KiB | 7 Q