3v4l.org

run code in 300+ PHP versions simultaneously
<?php //following GMT value or offset get from api $offsetHours = '-5 hours'; // This time i get from api $currentValue = '1401705628'; $actualTimeStamp = strtotime($offsetHours,$currentValue); echo strtotime($offsetHours)."==="; echo $actualTimeStamp."==="; echo date('d-M-Y h:i A',$actualTimeStamp); echo "==mk="mktime(-5, 0, 0, 0, 0, 0); echo "===".date("d-M-Y h:i A", $currentValue+mktime(-5, 0, 0, 0, 0, 0));

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.290.0180.09212.48
5.4.280.0100.04412.38
5.4.270.0090.06512.37
5.4.260.0050.05412.38
5.4.250.0050.06312.37
5.4.240.0050.06112.37
5.4.230.0130.06212.36
5.4.220.0060.08812.37
5.4.210.0080.06712.37
5.4.200.0090.05112.36
5.4.190.0120.04512.36
5.4.180.0080.05012.36
5.4.170.0110.03712.37
5.4.160.0100.03612.36
5.4.150.0060.03912.36
5.4.140.0060.04312.05
5.4.130.0130.04212.03
5.4.120.0120.05512.00
5.4.110.0100.05311.99
5.4.100.0110.04712.00
5.4.90.0070.05812.00
5.4.80.0080.05111.99
5.4.70.0100.05211.99
5.4.60.0060.05311.99
5.4.50.0080.05811.99
5.4.40.0070.05311.98
5.4.30.0080.05111.98
5.4.20.0100.03711.97
5.4.10.0150.06011.97
5.4.00.0170.07511.47
5.3.280.0170.04412.71
5.3.270.0070.04212.73
5.3.260.0070.04312.72
5.3.250.0090.03812.72
5.3.240.0060.04412.72
5.3.230.0080.04112.71
5.3.220.0110.05612.68
5.3.210.0160.08912.68
5.3.200.0220.06412.68
5.3.190.0110.05112.68
5.3.180.0100.05212.67
5.3.170.0140.05212.67
5.3.160.0150.05412.68
5.3.150.0090.05712.67
5.3.140.0100.05312.66
5.3.130.0140.05612.66
5.3.120.0100.05112.66
5.3.110.0190.06312.65
5.3.100.0140.05112.11
5.3.90.0080.05312.08
5.3.80.0090.05012.07
5.3.70.0110.04912.08
5.3.60.0180.06612.06
5.3.50.0130.05012.00
5.3.40.0090.05112.00
5.3.30.0120.05111.95
5.3.20.0070.05811.73
5.3.10.0120.05411.70
5.3.00.0080.05511.68

preferences:
159.74 ms | 1394 KiB | 7 Q