3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private function _onInit() { echo 'inited'; } } $rm = new ReflectionClass('Foo'); $rm->hasMethod('_onInit');'

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.310.0800.05019.13
5.4.300.0570.04318.99
5.4.290.0630.03718.85
5.4.280.0870.03319.01
5.4.270.0770.03719.16
5.4.260.0900.03319.13
5.4.250.0730.03719.03
5.4.240.0500.04018.82
5.4.230.0270.04018.94
5.4.220.0530.05018.95
5.4.210.0800.04018.99
5.4.200.0770.03319.07
5.4.190.0770.04719.21
5.4.180.0670.03319.18
5.4.170.0500.04319.20
5.4.160.0400.04018.92
5.4.150.0670.04019.16
5.4.140.0700.04716.56
5.4.130.0730.04016.29
5.4.120.0570.04016.50
5.4.110.0700.04016.43
5.4.100.0470.03016.58
5.4.90.0800.03016.59
5.4.80.0430.04316.32
5.4.70.0630.05016.17
5.4.60.0530.04016.49
5.4.50.0670.03716.40
5.4.40.0900.03716.40
5.4.30.0530.03716.52
5.4.20.0570.03016.24
5.4.10.0400.05016.32
5.4.00.0530.03715.93
5.3.280.0630.06715.93
5.3.270.0330.04015.93
5.3.260.0770.03315.93
5.3.250.0530.03315.93
5.3.240.0130.04015.93
5.3.230.0630.03315.93
5.3.220.0300.04315.93
5.3.210.0270.04315.93
5.3.200.0100.03015.93
5.3.190.0730.03715.93
5.3.180.0430.04715.93
5.3.170.0800.02715.93
5.3.160.0770.04015.93
5.3.150.0930.03015.93
5.3.140.0930.03315.93
5.3.130.0700.07015.93
5.3.120.0630.04315.93
5.3.110.0570.03715.93
5.3.100.0300.04315.93
5.3.90.0400.03715.93
5.3.80.0730.03715.93
5.3.70.0430.03715.93
5.3.60.0630.05015.93
5.3.50.0500.04715.93
5.3.40.0870.03015.93
5.3.30.0830.04015.93
5.3.20.0430.04015.93
5.3.10.0770.03015.93
5.3.00.0700.04315.93
5.2.170.0300.02315.93
5.2.160.0400.02715.93
5.2.150.0570.03015.93
5.2.140.0870.03015.93
5.2.130.0530.03015.93
5.2.120.0770.01315.93
5.2.110.0200.03015.93
5.2.100.0330.03015.93
5.2.90.0830.02015.93
5.2.80.0730.02015.93
5.2.70.0600.02315.93
5.2.60.0170.03315.93
5.2.50.0570.03015.93
5.2.40.0630.03015.93
5.2.30.0230.03315.93
5.2.20.0670.02315.93
5.2.10.0400.03015.93
5.2.00.0600.02715.93
5.1.60.0530.02315.93
5.1.50.0370.02715.93
5.1.40.0130.02715.93
5.1.30.0370.02715.93
5.1.20.0570.01715.93
5.1.10.0430.03015.93
5.1.00.0400.03015.93
5.0.50.0070.02715.93
5.0.40.0370.02015.93
5.0.30.0330.02715.93
5.0.20.0170.02015.93
5.0.10.0130.02315.93
5.0.00.0270.02715.93
4.4.90.0230.01715.93
4.4.80.0130.02015.93
4.4.70.0300.01315.93
4.4.60.0170.01315.93
4.4.50.0070.01315.93
4.4.40.0270.02315.93
4.4.30.0130.01715.93
4.4.20.0100.02015.93
4.4.10.0200.01315.93
4.4.00.0170.02715.93
4.3.110.0230.01315.93
4.3.100.0230.01015.93
4.3.90.0130.01715.93
4.3.80.0230.02015.93
4.3.70.0270.01015.93
4.3.60.0230.01315.93
4.3.50.0200.01715.93
4.3.40.0170.02715.93
4.3.30.0000.02015.93
4.3.20.0130.02715.93
4.3.10.0130.01315.93
4.3.00.0100.01715.93

preferences:
141.41 ms | 1394 KiB | 7 Q