3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo class Bar extends Foo { public function __construct() { parent::__construct(); } } new Bar;

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.0300.03718.98
5.4.300.0400.04319.30
5.4.290.0370.04319.22
5.4.280.0400.06319.09
5.4.270.0400.06719.05
5.4.260.0500.05319.05
5.4.250.0330.04018.86
5.4.240.0330.03719.30
5.4.230.0370.03319.16
5.4.220.0570.03319.11
5.4.210.0430.06719.12
5.4.200.0530.06319.22
5.4.190.0500.06719.13
5.4.180.0470.03319.29
5.4.170.0400.04719.13
5.4.160.0370.04019.28
5.4.150.0400.03718.82
5.4.140.0430.06316.45
5.4.130.0430.06016.64
5.4.120.0370.06016.33
5.4.110.0470.06316.25
5.4.100.0470.06316.21
5.4.90.0370.05016.20
5.4.80.0400.06716.58
5.4.70.0500.04016.45
5.4.60.0430.03716.52
5.4.50.0430.05716.33
5.4.40.0370.03716.33
5.4.30.0300.03316.48
5.4.20.0300.04316.21
5.4.10.0330.07016.51
5.4.00.0300.04315.89
5.3.280.0330.03714.56
5.3.270.0400.06014.57
5.3.260.0270.04714.68
5.3.250.0330.06714.52
5.3.240.0330.05714.82
5.3.230.0300.04714.71
5.3.220.0430.06014.68
5.3.210.0330.07014.79
5.3.200.0330.06714.53
5.3.190.0430.06314.55
5.3.180.0300.04014.48
5.3.170.0330.03314.78
5.3.160.0270.04014.56
5.3.150.0300.04014.55
5.3.140.0370.04014.77
5.3.130.0270.03714.59
5.3.120.0330.04714.77
5.3.110.0300.03714.69
5.3.100.0270.04014.04
5.3.90.0370.03014.04
5.3.80.0270.04014.09
5.3.70.0300.03714.09
5.3.60.0300.03714.01
5.3.50.0230.04014.05
5.3.40.0330.03013.87
5.3.30.0270.03713.82
5.3.20.0330.03013.69
5.3.10.0300.03313.77
5.3.00.0270.03713.53
5.2.170.0270.03712.31
5.2.160.0270.02712.31
5.2.150.0300.03712.31
5.2.140.0330.03312.31
5.2.130.0330.04312.31
5.2.120.0200.03012.31
5.2.110.0270.02712.31
5.2.100.0230.03012.31
5.2.90.0270.02712.31
5.2.80.0200.03312.31
5.2.70.0270.02712.31
5.2.60.0230.03012.31
5.2.50.0270.02712.31
5.2.40.0200.02712.31
5.2.30.0170.03012.31
5.2.20.0170.03312.31
5.2.10.0170.03012.31
5.2.00.0200.02712.31
5.1.60.0170.02712.31
5.1.50.0200.02312.31
5.1.40.0270.02312.31
5.1.30.0230.03012.31
5.1.20.0130.03012.31
5.1.10.0200.02312.31
5.1.00.0200.02712.31
5.0.50.0070.02712.31
5.0.40.0100.02012.31
5.0.30.0100.03012.31
5.0.20.0130.02012.31
5.0.10.0130.01712.31
5.0.00.0070.03312.31
4.4.90.0070.01712.31
4.4.80.0070.01712.31
4.4.70.0100.01312.31
4.4.60.0070.01712.31
4.4.50.0130.01012.31
4.4.40.0100.02312.31
4.4.30.0100.01712.31
4.4.20.0070.01712.31
4.4.10.0100.01712.31
4.4.00.0100.02712.31
4.3.110.0130.01012.31
4.3.100.0070.01712.31
4.3.90.0100.01312.31
4.3.80.0100.02312.31
4.3.70.0070.01712.31
4.3.60.0100.01312.31
4.3.50.0070.01712.31
4.3.40.0070.02712.31
4.3.30.0030.01712.31
4.3.20.0030.01712.31
4.3.10.0030.01712.31
4.3.00.0030.01712.31

preferences:
141.05 ms | 1394 KiB | 7 Q