3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class ItemMapperBase { public function newInstance($thing) { } } class RevtwoItemMapper extends ItemMapperBase { } $first = new ItemMapperBase::newInstance('foo'); $second = new RevtoItemMapper;

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.6.130.0070.08018.19
5.6.120.0130.08021.02
5.6.110.0100.08021.03
5.6.100.0070.07320.96
5.6.90.0130.08320.95
5.6.80.0130.06720.38
5.5.290.0070.08317.99
5.5.280.0100.03320.77
5.5.270.0170.07720.87
5.5.260.0130.08320.77
5.5.250.0070.08020.62
5.5.240.0100.06320.22
5.4.450.0470.05319.47
5.4.440.0430.07019.68
5.4.430.0430.05019.54
5.4.420.0500.05019.62
5.4.410.0730.04319.07
5.4.400.0500.06019.16
5.4.390.0400.05319.16
5.4.380.0100.05319.25
5.4.370.0130.04719.25
5.4.360.0200.05719.36
5.4.350.0670.03318.84
5.4.340.0430.05718.98
5.4.320.0470.05018.97
5.4.310.0330.06319.28
5.4.300.0430.05719.00
5.4.290.0670.06019.25
5.4.280.0630.03719.27
5.4.270.0430.05719.00
5.4.260.0470.04719.00
5.4.250.0370.06319.27
5.4.240.0500.04719.18
5.4.230.0430.05718.86
5.4.220.0500.07019.23
5.4.210.0400.05718.85
5.4.200.0570.05019.27
5.4.190.0370.06019.25
5.4.180.0530.04318.86
5.4.170.0330.06318.83
5.4.160.0430.05318.85
5.4.150.0500.05019.27
5.4.140.0370.05716.46
5.4.130.0430.05016.55
5.4.120.0430.06016.45
5.4.110.0500.04716.48
5.4.100.0470.04716.57
5.4.90.0430.05016.29
5.4.80.0430.05316.64
5.4.70.0230.04316.39
5.4.60.0130.06016.51
5.4.50.0070.06716.53
5.4.40.0270.07016.38
5.4.30.0370.05316.42
5.4.20.0270.04316.55

preferences:
137.87 ms | 1394 KiB | 7 Q