3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct($foo, $bar, $foo) {} } $r = new ReflectionClass('Foo'); $params = $r->getConstructor()->getParameters(); echo $params[2]->name;

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.280.0170.06320.78
5.6.250.0030.05020.57
5.6.240.0100.05020.60
5.6.230.0130.06720.59
5.6.220.0100.07720.53
5.6.210.0170.06720.62
5.6.200.0100.07721.12
5.6.190.0100.08020.94
5.6.180.0130.05021.09
5.6.170.0100.07321.05
5.6.160.0100.05320.95
5.6.150.0130.06321.12
5.6.140.0170.05320.95
5.6.130.0000.04721.09
5.6.120.0070.05321.14
5.6.110.0070.08321.13
5.6.100.0030.05321.10
5.6.90.0070.06721.16
5.6.80.0200.05020.45
5.6.70.0030.08020.49
5.6.60.0130.03720.46
5.6.50.0030.06320.56
5.6.40.0200.04320.39
5.6.30.0070.05720.37
5.6.20.0100.06720.44
5.6.10.0100.08020.47
5.6.00.0000.08320.45
5.5.380.0100.06320.39
5.5.370.0070.06320.50
5.5.360.0130.07320.41
5.5.350.0130.06720.42
5.5.340.0030.07320.74
5.5.330.0070.08320.82
5.5.320.0070.05320.87
5.5.310.0030.05020.73
5.5.300.0100.07720.87
5.5.290.0100.04720.89
5.5.280.0130.08320.76
5.5.270.0070.05020.80
5.5.260.0100.08020.78
5.5.250.0130.08020.75
5.5.240.0130.06020.16
5.5.230.0000.07320.25
5.5.220.0170.07320.21
5.5.210.0030.04720.30
5.5.200.0070.04720.29
5.5.190.0030.08720.04
5.5.180.0130.07320.13
5.5.160.0070.07020.24
5.5.150.0100.03720.18
5.5.140.0070.07320.20
5.5.130.0070.04720.26
5.5.120.0130.05320.15
5.5.110.0030.09020.12
5.5.100.0070.07720.14
5.5.90.0130.07020.08
5.5.80.0170.06320.16
5.5.70.0070.08320.07
5.5.60.0070.08020.00
5.5.50.0030.08720.03
5.5.40.0070.08320.06
5.5.30.0030.07719.96
5.5.20.0070.07020.19
5.5.10.0070.04319.98
5.5.00.0100.04019.95
5.4.450.0130.07719.51
5.4.440.0100.07019.51
5.4.430.0030.04319.22
5.4.420.0100.05719.46
5.4.410.0000.04319.23
5.4.400.0070.06319.16
5.4.390.0030.04719.04
5.4.380.0070.04319.18
5.4.370.0100.06719.05
5.4.360.0130.04318.88
5.4.350.0170.06718.87
5.4.340.0130.07318.86
5.4.320.0070.07019.23
5.4.310.0030.04719.03
5.4.300.0100.07319.13
5.4.290.0000.06318.90
5.4.280.0030.04019.13
5.4.270.0030.08019.05
5.4.260.0130.07019.05
5.4.250.0070.06019.25
5.4.240.0130.03319.02
5.4.230.0100.07019.03
5.4.220.0130.06319.03
5.4.210.0070.07319.03
5.4.200.0000.04319.15
5.4.190.0100.07019.20
5.4.180.0100.06019.22
5.4.170.0030.04319.22
5.4.160.0030.04018.83
5.4.150.0000.04719.18
5.4.140.0070.03316.51
5.4.130.0070.04316.37
5.4.120.0130.02316.39
5.4.110.0000.04016.43
5.4.100.0030.06316.52
5.4.90.0000.03716.43
5.4.80.0030.03316.42
5.4.70.0070.06716.48
5.4.60.0100.04716.49
5.4.50.0030.05016.31
5.4.40.0070.06716.37
5.4.30.0030.03716.48
5.4.20.0030.05016.33
5.4.10.0070.07316.33
5.4.00.0070.04015.65
5.3.290.0100.05014.60
5.3.280.0030.07714.58
5.3.270.0070.05714.59
5.3.260.0000.06014.59
5.3.250.0130.06714.59
5.3.240.0070.03714.72
5.3.230.0030.03714.72
5.3.220.0000.04014.68
5.3.210.0000.04014.50
5.3.200.0070.03714.62
5.3.190.0070.03014.59
5.3.180.0000.03714.62
5.3.170.0130.06714.49
5.3.160.0100.04714.68
5.3.150.0030.07314.54
5.3.140.0000.08014.49
5.3.130.0070.05714.67
5.3.120.0000.04314.61
5.3.110.0000.03714.67
5.3.100.0100.05314.13
5.3.90.0000.05014.03
5.3.80.0030.03314.04
5.3.70.0100.05714.09
5.3.60.0100.05714.05
5.3.50.0030.05013.97
5.3.40.0100.03013.96
5.3.30.0030.03713.83
5.3.20.0000.04013.70
5.3.10.0030.03013.57
5.3.00.0000.03713.53
5.2.170.0000.03011.06
5.2.160.0070.02311.25
5.2.150.0130.02711.14
5.2.140.0000.03711.13
5.2.130.0070.02311.02
5.2.120.0000.03011.12
5.2.110.0000.03711.20
5.2.100.0070.02711.01
5.2.90.0000.03711.20
5.2.80.0000.03011.15
5.2.70.0000.03311.21
5.2.60.0030.02711.07
5.2.50.0030.04310.95
5.2.40.0070.03710.89
5.2.30.0000.04011.01
5.2.20.0000.03011.01
5.2.10.0070.02710.92
5.2.00.0000.03310.63
5.1.60.0000.03010.01
5.1.50.0000.04010.01
5.1.40.0000.02710.09
5.1.30.0000.03010.32
5.1.20.0000.02710.38
5.1.10.0030.0339.91
5.1.00.0030.02310.14
5.0.50.0000.0209.11
5.0.40.0030.0279.11
5.0.30.0030.0309.11
5.0.20.0030.0179.11
5.0.10.0030.0179.11
5.0.00.0030.0279.11
4.4.90.0000.0239.11
4.4.80.0030.0179.11
4.4.70.0000.0179.11
4.4.60.0000.0139.11
4.4.50.0000.0179.11
4.4.40.0000.0239.11
4.4.30.0000.0179.11
4.4.20.0000.0179.11
4.4.10.0000.0179.11
4.4.00.0000.0239.11
4.3.110.0000.0179.11
4.3.100.0000.0179.11
4.3.90.0030.0139.11
4.3.80.0000.0279.11
4.3.70.0000.0139.11
4.3.60.0070.0279.11
4.3.50.0000.0279.11
4.3.40.0000.0279.11
4.3.30.0000.0279.11
4.3.20.0000.0379.11
4.3.10.0000.0179.11
4.3.00.0000.0309.11

preferences:
152.71 ms | 1394 KiB | 7 Q