3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { conxxxxcwsefst TEST_1 = 1; } $refl = new ReflectionClass('a'); var_dump( $refl->getConstants() );

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.120.0070.03717.41
5.5.110.0030.03717.31
5.5.100.0070.03317.34
5.5.90.0000.03717.34
5.5.80.0000.04017.35
5.5.70.0070.03717.16
5.5.60.0130.07017.29
5.5.50.0030.07717.19
5.5.40.0070.08017.30
5.5.30.0100.03717.21
5.5.20.0070.06317.23
5.5.10.0030.07317.20
5.5.00.0130.08017.28
5.4.280.0070.04018.98
5.4.270.0070.03319.02
5.4.260.0030.03719.12
5.4.250.0030.03718.85
5.4.240.0030.03719.13
5.4.230.0070.03719.02
5.4.220.0000.07019.05
5.4.210.0130.06718.97
5.4.200.0030.08019.02
5.4.190.0000.04319.00
5.4.180.0000.05718.94
5.4.170.0070.04319.02
5.4.160.0100.07719.09
5.4.150.0130.05719.25
5.4.140.0130.05016.39
5.4.130.0070.08016.21
5.4.120.0030.05316.34
5.4.110.0100.04316.45
5.4.100.0030.06016.38
5.4.90.0130.06716.38
5.4.80.0100.06316.54
5.4.70.0100.03716.39
5.4.60.0230.05016.53
5.4.50.0030.06016.42
5.4.40.0030.04716.40
5.4.30.0070.03316.41
5.4.20.0030.05016.35
5.4.10.0070.05716.37
5.4.00.0170.04315.91
5.3.280.0100.07314.68
5.3.270.0000.04714.60
5.3.260.0070.05014.60
5.3.250.0000.08714.64
5.3.240.0030.05714.64
5.3.230.0070.06714.55
5.3.220.0070.04714.61
5.3.210.0030.07714.43
5.3.200.0000.07014.62
5.3.190.0100.04714.60
5.3.180.0100.07314.60
5.3.170.0070.06714.59
5.3.160.0100.05714.63
5.3.150.0030.07314.55
5.3.140.0100.04714.63
5.3.130.0000.04314.60
5.3.120.0070.07314.57
5.3.110.0070.07014.57
5.3.100.0030.07314.06
5.3.90.0070.07314.04
5.3.80.0030.05014.05
5.3.70.0030.04314.00
5.3.60.0030.05314.00
5.3.50.0100.06313.95
5.3.40.0100.07713.81
5.3.30.0100.06013.98
5.3.20.0030.03713.71
5.3.10.0070.03313.70
5.3.00.0000.05313.67

preferences:
141.03 ms | 1394 KiB | 7 Q