3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface PaginatorInterface implements Countable { public function getCurrentPage(); public function getLastPage(); public function getTotal(); public function count(); public function getPerPage(); public function getUrl($page); } class Paginator implements PaginatorInterface { public function getCurrentPage() {} public function getLastPage() {} public function getTotal() {} public function count() {} public function getPerPage() {} public function getUrl($page) {} } new Paginator;

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.250.0070.06018.75
5.4.240.0070.05719.04
5.4.230.0070.05318.75
5.4.220.0100.05018.91
5.4.210.0070.05318.91
5.4.200.0000.06018.88
5.4.190.0070.07718.71
5.4.180.0100.06318.86
5.4.170.0200.06718.95
5.4.160.0200.04018.77
5.4.150.0100.05018.70
5.4.140.0030.05716.39
5.4.130.0130.05016.47
5.4.120.0070.05016.43
5.4.110.0230.04716.28
5.4.100.0070.05316.50
5.4.90.0100.05316.36
5.4.80.0130.04716.41
5.4.70.0130.04316.35
5.4.60.0070.05316.40
5.4.50.0070.07016.41
5.4.40.0000.05716.39
5.4.30.0130.06316.44
5.4.20.0130.06016.36
5.4.10.0000.06016.26
5.4.00.0100.04315.83
5.3.280.0070.05314.57
5.3.270.0070.07714.68
5.3.260.0070.05314.57
5.3.250.0070.05714.57
5.3.240.0130.04314.60
5.3.230.0200.03714.75
5.3.220.0030.05314.64
5.3.210.0000.05714.55
5.3.200.0070.05014.63
5.3.190.0230.05014.46
5.3.180.0070.05314.73
5.3.170.0170.04014.64
5.3.160.0070.05014.73
5.3.150.0100.05014.78
5.3.140.0170.04714.63
5.3.130.0200.05014.53
5.3.120.0130.06014.70
5.3.110.0100.07714.71
5.3.100.0070.04714.11
5.3.90.0070.05713.91
5.3.80.0130.05014.10
5.3.70.0170.04314.08
5.3.60.0030.05014.08
5.3.50.0030.05014.19
5.3.40.0100.04714.12
5.3.30.0030.05013.75
5.3.20.0070.05313.68
5.3.10.0200.04013.63
5.3.00.0170.06313.74

preferences:
137.81 ms | 1394 KiB | 7 Q