3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fileName = "140908_181323-q6nr12vo-8900001-08031970805-byC1.mp3"; echo date('Y/m/d h:i:s', strtotime(substr($item.file_name,0,12))).substr($item.file_name,13);
based on BKj4B
Output for 5.1.0 - 7.1.0
Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 Notice: Undefined variable: item in /in/shKDK on line 3 Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 Notice: Undefined variable: item in /in/shKDK on line 3 1970/01/01 01:00:00
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: item in /in/shKDK on line 3 Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 Notice: Undefined variable: item in /in/shKDK on line 3 Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 1970/01/01 12:59:59
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: item in /in/shKDK on line 3 Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 Notice: Undefined variable: item in /in/shKDK on line 3 Notice: Use of undefined constant file_name - assumed 'file_name' in /in/shKDK on line 3 1970/01/01 12:59:59