3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Xy; class Foo { public function __construct($foo, $bar, $foo) {} } $r = new ReflectionClass('Foo'); var_export($r->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.5.80.0100.07720.07
5.5.70.0100.07020.07
5.5.60.0070.07020.14
5.5.50.0100.06720.03
5.5.40.0200.06720.05
5.5.30.0100.07020.14
5.5.20.0070.06020.11
5.5.10.0030.06020.06
5.5.00.0070.07320.13
5.4.240.0070.07319.12
5.4.230.0100.06319.12
5.4.220.0100.07319.12
5.4.210.0000.05319.02
5.4.200.0030.06019.03
5.4.190.0070.07319.18
5.4.180.0100.03319.02
5.4.170.0070.08019.02
5.4.160.0100.04319.20
5.4.150.0030.08019.21
5.4.140.0070.06716.41
5.4.130.0070.07016.24
5.4.120.0030.07316.49
5.4.110.0030.07716.32
5.4.100.0100.06316.50
5.4.90.0070.07016.35
5.4.80.0030.07316.41
5.4.70.0100.03716.34
5.4.60.0070.07016.47
5.4.50.0070.07016.31
5.4.40.0030.04716.41
5.4.30.0030.07716.31
5.4.20.0100.07316.29
5.4.10.0070.07716.21
5.4.00.0100.06315.87
5.3.280.0130.06314.70
5.3.270.0070.08014.57
5.3.260.0100.06014.67
5.3.250.0070.07014.70
5.3.240.0100.07014.71
5.3.230.0030.07714.62
5.3.220.0130.07714.62
5.3.210.0030.08014.50
5.3.200.0000.08014.51
5.3.190.0070.07714.55
5.3.180.0030.07714.57
5.3.170.0070.07714.65
5.3.160.0000.07014.61
5.3.150.0070.06714.54
5.3.140.0130.07014.69
5.3.130.0030.08014.56
5.3.120.0100.07314.61
5.3.110.0030.08014.64
5.3.100.0030.07714.09
5.3.90.0000.07314.00
5.3.80.0230.05714.14
5.3.70.0100.06713.93
5.3.60.0070.06714.11
5.3.50.0030.05014.03
5.3.40.0100.07014.00
5.3.30.0030.07313.89
5.3.20.0000.08013.71
5.3.10.0070.04313.76
5.3.00.0070.07313.70
5.2.170.0070.06011.21
5.2.160.0030.04711.17
5.2.150.0070.05011.06
5.2.140.0000.06011.16
5.2.130.0000.04011.14
5.2.120.0000.06711.10
5.2.110.0070.06011.09
5.2.100.0030.06011.11
5.2.90.0070.06010.98
5.2.80.0130.05710.91
5.2.70.0030.06011.09
5.2.60.0070.04010.96
5.2.50.0030.05710.94
5.2.40.0030.06011.02
5.2.30.0100.05710.92
5.2.20.0000.04710.75
5.2.10.0030.06010.93
5.2.00.0000.06010.62
5.1.60.0030.05310.07
5.1.50.0070.04310.07
5.1.40.0030.05010.07
5.1.30.0030.04010.25
5.1.20.0030.05710.40
5.1.10.0030.05710.07
5.1.00.0070.04710.07
5.0.50.0030.04710.07
5.0.40.0030.03710.07
5.0.30.0030.05310.07
5.0.20.0000.04710.07
5.0.10.0000.04710.07
5.0.00.0030.06710.07
4.4.90.0030.03310.07
4.4.80.0030.03310.07
4.4.70.0000.03710.07
4.4.60.0100.02310.07
4.4.50.0000.02310.07
4.4.40.0000.03710.07
4.4.30.0030.03310.07
4.4.20.0030.03310.07
4.4.10.0070.03310.07
4.4.00.0030.05310.07
4.3.110.0030.03710.07
4.3.100.0000.03710.07
4.3.90.0000.03710.07
4.3.80.0100.04310.07
4.3.70.0100.02710.07
4.3.60.0000.03310.07
4.3.50.0030.03310.07
4.3.40.0030.03710.07
4.3.30.0000.03710.07
4.3.20.0000.03310.07
4.3.10.0000.02710.07
4.3.00.0070.03010.07

preferences:
146.88 ms | 1394 KiB | 7 Q