3v4l.org

run code in 300+ PHP versions simultaneously
<?php class S extends DateTime { public static function a() { call_user_func_array('parent::createFromFormat', func_get_args()) } } S::a('a','a')

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.270.0100.06318.95
5.4.260.0330.04718.90
5.4.250.0130.07318.98
5.4.240.0100.07318.64
5.4.230.0130.05318.74
5.4.220.0070.05718.93
5.4.210.0170.06318.66
5.4.200.0230.05018.79
5.4.190.0170.06718.74
5.4.180.0230.03718.75
5.4.170.0130.05018.93
5.4.160.0070.06018.76
5.4.150.0200.05018.93
5.4.140.0200.06316.53
5.4.130.0130.06716.48
5.4.120.0070.06316.49
5.4.110.0070.07016.49
5.4.100.0130.04716.32
5.4.90.0130.06716.52
5.4.80.0100.05316.34
5.4.70.0070.07316.54
5.4.60.0100.07316.50
5.4.50.0130.05716.50
5.4.40.0130.06316.65
5.4.30.0130.05016.35
5.4.20.0200.06016.49
5.4.10.0100.07016.49
5.4.00.0070.05715.99
5.3.280.0100.07014.67
5.3.270.0030.06714.57
5.3.260.0130.05014.62
5.3.250.0130.06714.68
5.3.240.0030.06314.51
5.3.230.0130.04714.56
5.3.220.0170.04314.55
5.3.210.0070.07014.66
5.3.200.0030.07714.55
5.3.190.0170.04714.65
5.3.180.0100.05014.63
5.3.170.0070.06014.65
5.3.160.0030.07714.64
5.3.150.0200.06714.55
5.3.140.0070.05014.54
5.3.130.0100.05714.58
5.3.120.0070.07014.70
5.3.110.0070.07014.63
5.3.100.0070.05714.00
5.3.90.0100.06713.84
5.3.80.0030.07714.04
5.3.70.0230.04313.85
5.3.60.0170.06014.07
5.3.50.0070.06713.95
5.3.40.0130.06014.04
5.3.30.0100.06014.01
5.3.20.0030.06713.76
5.3.10.0200.04013.87
5.3.00.0100.05013.82
5.2.170.0130.04011.15
5.2.160.0100.04311.23
5.2.150.0170.04311.23
5.2.140.0070.05311.21
5.2.130.0030.06311.07
5.2.120.0100.05311.19
5.2.110.0170.03711.16
5.2.100.0100.04311.17
5.2.90.0170.05311.07
5.2.80.0200.04710.99
5.2.70.0000.05011.17
5.2.60.0030.06011.11
5.2.50.0030.05011.00
5.2.40.0170.03311.21
5.2.30.0100.04010.92
5.2.20.0070.05711.03
5.2.10.0070.04711.02
5.2.00.0230.04010.62
5.1.60.0030.05010.01
5.1.50.0130.0309.95
5.1.40.0030.0379.93
5.1.30.0030.05710.55
5.1.20.0000.04310.43
5.1.10.0070.04310.17
5.1.00.0030.04310.13
5.0.50.0000.0378.59
5.0.40.0070.0278.47
5.0.30.0030.0508.46
5.0.20.0070.0308.11
5.0.10.0070.0278.13
5.0.00.0070.0608.11
4.4.90.0070.0276.79
4.4.80.0070.0206.79
4.4.70.0030.0276.79
4.4.60.0070.0236.79
4.4.50.0070.0276.79
4.4.40.0000.0376.79
4.4.30.0000.0276.79
4.4.20.0070.0236.79
4.4.10.0070.0236.79
4.4.00.0100.0276.79
4.3.110.0070.0306.79
4.3.100.0030.0206.79
4.3.90.0070.0236.79
4.3.80.0030.0376.79
4.3.70.0030.0206.79
4.3.60.0070.0276.79
4.3.50.0000.0336.79
4.3.40.0070.0376.79
4.3.30.0000.0306.79
4.3.20.0000.0236.79
4.3.10.0000.0236.79
4.3.00.0130.0237.01

preferences:
164.5 ms | 1394 KiB | 7 Q