3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct($foo, $bar, $foo) {} } $r = new ReflectionClass('Foo'); var_export($r->__toString());

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.0070.07021.07
5.6.250.0100.08320.75
5.6.240.0030.08020.64
5.6.230.0030.09020.72
5.6.220.0130.07320.74
5.6.210.0000.07720.62
5.6.200.0100.08020.93
5.6.190.0170.07320.99
5.6.180.0070.07721.03
5.6.170.0200.06020.99
5.6.160.0100.08021.13
5.6.150.0070.07721.03
5.6.140.0130.07721.09
5.6.130.0070.08021.07
5.6.120.0000.08321.05
5.6.110.0100.08021.00
5.6.100.0070.08021.00
5.6.90.0000.08721.00
5.6.80.0100.07720.48
5.6.70.0070.04720.41
5.6.60.0070.07720.30
5.6.50.0070.05320.56
5.6.40.0100.03720.40
5.6.30.0100.07720.41
5.6.20.0030.04720.39
5.6.10.0130.08320.29
5.6.00.0070.07020.29
5.5.380.0170.07720.37
5.5.370.0030.09320.35
5.5.360.0070.04720.56
5.5.350.0030.05020.46
5.5.340.0100.07020.78
5.5.330.0100.04720.90
5.5.320.0100.08020.88
5.5.310.0100.08020.80
5.5.300.0170.06320.77
5.5.290.0130.08020.63
5.5.280.0070.08020.74
5.5.270.0030.08320.84
5.5.260.0030.08720.63
5.5.250.0030.08720.70
5.5.240.0100.08020.02
5.5.230.0000.08020.25
5.5.220.0100.07320.28
5.5.210.0130.07720.23
5.5.200.0200.05020.20
5.5.190.0070.08320.23
5.5.180.0000.10020.09
5.5.160.0100.07020.23
5.5.150.0100.04320.17
5.5.140.0030.07320.21
5.5.130.0170.07020.26
5.5.120.0130.06320.21
5.5.110.0130.07320.14
5.5.100.0000.08720.06
5.5.90.0070.05020.11
5.5.80.0070.08319.93
5.5.70.0100.08020.08
5.5.60.0030.08320.10
5.5.50.0130.06320.14
5.5.40.0070.07720.03
5.5.30.0070.07720.02
5.5.20.0130.07020.05
5.5.10.0030.07020.01
5.5.00.0070.07720.05
5.4.450.0070.05719.57
5.4.440.0070.06319.45
5.4.430.0130.06719.53
5.4.420.0130.07019.20
5.4.410.0200.06319.43
5.4.400.0070.07019.04
5.4.390.0100.06719.04
5.4.380.0070.07719.16
5.4.370.0170.07018.88
5.4.360.0070.08019.05
5.4.350.0030.05018.95
5.4.340.0100.08318.91
5.4.320.0130.07018.88
5.4.310.0100.07319.16
5.4.300.0070.07719.13
5.4.290.0100.06019.03
5.4.280.0100.05719.04
5.4.270.0100.07719.20
5.4.260.0030.05719.02
5.4.250.0130.07019.20
5.4.240.0170.07018.87
5.4.230.0100.07319.02
5.4.220.0170.07019.17
5.4.210.0070.06719.02
5.4.200.0170.06719.09
5.4.190.0130.06719.19
5.4.180.0170.05319.03
5.4.170.0130.03718.87
5.4.160.0170.06319.18
5.4.150.0070.04719.18
5.4.140.0130.07016.35
5.4.130.0070.07016.34
5.4.120.0100.07016.37
5.4.110.0030.06016.50
5.4.100.0070.04016.39
5.4.90.0130.06716.36
5.4.80.0030.06716.35
5.4.70.0100.03716.25
5.4.60.0000.05716.46
5.4.50.0000.07316.31
5.4.40.0130.04016.45
5.4.30.0100.06716.47
5.4.20.0100.05316.33
5.4.10.0100.06716.40
5.4.00.0200.05715.83
5.3.290.0130.06014.73
5.3.280.0070.07714.52
5.3.270.0130.03714.53
5.3.260.0200.06314.67
5.3.250.0030.07314.54
5.3.240.0000.04714.64
5.3.230.0130.03314.59
5.3.220.0100.07714.66
5.3.210.0130.07714.59
5.3.200.0030.06314.66
5.3.190.0130.05714.59
5.3.180.0100.07314.61
5.3.170.0070.07014.66
5.3.160.0100.04314.50
5.3.150.0030.07314.56
5.3.140.0070.05714.61
5.3.130.0070.06714.47
5.3.120.0070.06014.48
5.3.110.0100.04314.53
5.3.100.0030.04314.04
5.3.90.0130.06714.00
5.3.80.0100.07014.00
5.3.70.0130.07713.95
5.3.60.0100.07013.99
5.3.50.0070.05013.92
5.3.40.0130.06713.84
5.3.30.0100.06713.88
5.3.20.0070.05313.68
5.3.10.0000.07713.55
5.3.00.0030.05013.52
5.2.170.0100.05711.08
5.2.160.0030.04311.14
5.2.150.0030.07011.03
5.2.140.0130.05311.02
5.2.130.0070.05710.99
5.2.120.0000.06311.10
5.2.110.0100.05711.04
5.2.100.0070.06010.95
5.2.90.0000.05711.21
5.2.80.0070.04311.04
5.2.70.0070.05010.95
5.2.60.0030.05711.04
5.2.50.0070.03711.01
5.2.40.0070.03711.05
5.2.30.0030.06711.11
5.2.20.0000.06311.07
5.2.10.0030.03310.82
5.2.00.0000.06310.85
5.1.60.0070.05310.11
5.1.50.0070.05310.12
5.1.40.0100.03310.05
5.1.30.0100.03310.24
5.1.20.0030.03010.49
5.1.10.0100.05010.07
5.1.00.0000.03710.13
5.0.50.0000.0308.66
5.0.40.0030.0238.26
5.0.30.0030.0538.34
5.0.20.0000.0338.21
5.0.10.0100.0238.17
5.0.00.0030.0338.23
4.4.90.0000.0408.08
4.4.80.0000.0338.08
4.4.70.0070.0138.08
4.4.60.0070.0308.08
4.4.50.0000.0278.08
4.4.40.0030.0478.08
4.4.30.0030.0378.08
4.4.20.0000.0308.08
4.4.10.0000.0278.08
4.4.00.0000.0508.08
4.3.110.0000.0308.08
4.3.100.0000.0208.08
4.3.90.0070.0138.08
4.3.80.0000.0478.08
4.3.70.0070.0238.08
4.3.60.0000.0408.08
4.3.50.0000.0238.08
4.3.40.0100.0438.08
4.3.30.0000.0238.08
4.3.20.0030.0308.08
4.3.10.0000.0238.08
4.3.00.0000.0178.08

preferences:
136.35 ms | 1386 KiB | 7 Q