3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = '[Tue Jun 18 22:25:32 BST 2013] NeoThermic likes B*witched - C"est La Vie'; $bracketpos = strpos($input, '['); $endbracketpos = strpos($input, ']'); $datestamp = substr($input, $bracketpos + 1, $endbracketpos - $bracketpos - 1); $result = strtotime($datestamp); var_dump($datestamp); var_dump($result);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page