3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filepath = "2013-01-17-141325589_2013-01-18-j-CP08\45645\5\ar\666\loc\66666hygh\dfgh\test_file1.jpg.meta"; str_replace("\\", DIRECTORY_SEPARATOR, $filepath); //Make sure the system's directory separator and the path's directory separator are the same. $info = pathinfo($filepath); var_dump($info);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gKa5f
function name:  (null)
number of ops:  14
compiled vars:  !0 = $filepath, !1 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2013-01-17-141325589_2013-01-18-j-CP08.45%05%5Car%B6%5Cloc%B666hygh%5Cdfgh%09est_file1.jpg.meta'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%5C'
          3        SEND_VAL                                                 '%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'pathinfo'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    8    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.69 ms | 1394 KiB | 19 Q