3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace MyProject\\Sub\\Level; const CONNECT_OK = 1; class Connection { /* ... */ } function connect() { /* ... */ }

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.120.0200.05716.39
5.4.110.0070.04016.45
5.4.100.0030.03716.30
5.4.90.0070.04316.41
5.4.80.0070.04316.24
5.4.70.0130.05316.36
5.4.60.0030.07716.28
5.4.50.0100.07016.24
5.4.40.0070.06716.39
5.4.30.0030.05716.36
5.4.20.0170.05716.41
5.4.10.0000.08016.30
5.4.00.0130.06715.71
5.3.220.0070.05014.50
5.3.210.0030.05314.53
5.3.200.0030.07314.46
5.3.190.0030.03714.48
5.3.180.0030.05014.66
5.3.170.0030.05314.49
5.3.160.0100.06014.49
5.3.150.0130.06714.49
5.3.140.0100.04714.50
5.3.130.0070.05314.37
5.3.120.0030.04714.48
5.3.110.0200.06314.34
5.3.100.0070.05013.96
5.3.90.0030.04314.04
5.3.80.0100.07013.97
5.3.70.0100.04013.95
5.3.60.0000.08013.96
5.3.50.0070.05314.03
5.3.40.0030.07713.88
5.3.30.0170.06013.87
5.3.20.0070.03713.63
5.3.10.0170.05713.63
5.3.00.0100.07013.56

preferences:
143.18 ms | 1394 KiB | 7 Q