3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/shKDK
function name:  (null)
number of ops:  24
compiled vars:  !0 = $fileName, !1 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '140908_181323-q6nr12vo-8900001-08031970805-byC1.mp3'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y%2Fm%2Fd+h%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        INIT_FCALL                                               'substr'
          5        FETCH_CONSTANT                                   ~3      'file_name'
          6        CONCAT                                           ~4      !1, ~3
          7        SEND_VAL                                                 ~4
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 12
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                         $7      
         15        INIT_FCALL                                               'substr'
         16        FETCH_CONSTANT                                   ~8      'file_name'
         17        CONCAT                                           ~9      !1, ~8
         18        SEND_VAL                                                 ~9
         19        SEND_VAL                                                 13
         20        DO_ICALL                                         $10     
         21        CONCAT                                           ~11     $7, $10
         22        ECHO                                                     ~11
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.63 ms | 1399 KiB | 19 Q