3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fileName = "140908181323-q6nr12vo-8900001-08031970805-byC1.mp3"; echo date('Y-m-d H:i:s', strtotime(str_replace("_","",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/961ri
function name:  (null)
number of ops:  25
compiled vars:  !0 = $fileName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '140908181323-q6nr12vo-8900001-08031970805-byC1.mp3'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        INIT_FCALL                                               'str_replace'
          5        SEND_VAL                                                 '_'
          6        SEND_VAL                                                 ''
          7        INIT_FCALL                                               'substr'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 12
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                         $5      
         18        INIT_FCALL                                               'substr'
         19        SEND_VAR                                                 !0
         20        SEND_VAL                                                 13
         21        DO_ICALL                                         $6      
         22        CONCAT                                           ~7      $5, $6
         23        ECHO                                                     ~7
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.29 ms | 1395 KiB | 21 Q