3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test implements SessionHandlerInterface { public bool close ( void ){} public bool destroy ( string $session_id ){} public bool gc ( int $maxlifetime ){} public bool open ( string $save_path , string $session_name ){} public string read ( string $session_id ){} public bool write ( string $session_id , string $session_data ){} } $test = new Test();

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)
7.1.70.0060.01316.94
7.1.60.0210.01535.08
7.1.50.0220.01634.63
7.1.40.0220.01534.21
7.1.30.0200.01634.48
7.1.20.0180.01834.48
7.1.10.0070.01016.37
7.1.00.0080.01016.36
7.0.200.0000.01816.47
7.0.190.0040.01416.42
7.0.180.0060.01216.04
7.0.170.0030.01416.25
7.0.160.0070.01016.09
7.0.150.0100.00716.00
7.0.140.0080.01016.15
7.0.130.0060.01216.36
7.0.120.0070.01116.20
7.0.110.0030.01015.89
7.0.100.0030.01316.19
7.0.90.0080.00916.23
7.0.80.0060.00916.07
7.0.70.0000.01616.01
7.0.60.0090.00915.81
7.0.50.0080.01016.25
7.0.40.0210.01416.37
7.0.30.0050.01316.35
7.0.20.0080.00916.15
7.0.10.0070.01216.18
7.0.00.0100.00816.14

preferences:
138.18 ms | 1398 KiB | 7 Q