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($fileName,0,12))).substr($fileName,13);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/clHKG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $fileName
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        SEND_VAR                                                 !0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 12
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        INIT_FCALL                                               'substr'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 13
         16        DO_ICALL                                         $5      
         17        CONCAT                                           ~6      $4, $5
         18        ECHO                                                     ~6
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.4 ms | 1395 KiB | 19 Q