3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filepath = "2013-01-17-141325589_2013-01-18-j-CP08\45645\5\ar\666\loc\66666hygh\dfgh\test_file1.jpg.meta"; if (DIRECTORY_SEPARATOR == "/") { 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
Jump found. Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
Jump found. Position 1 = -2
Branch analysis from position: 7
filename:       /in/l06F9
function name:  (null)
number of ops:  15
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      > JMPZ                                                     <true>, ->7
   4     2    >   INIT_FCALL                                               'str_replace'
         3        SEND_VAL                                                 '%5C'
         4        SEND_VAL                                                 '%2F'
         5        SEND_VAR                                                 !0
         6        DO_ICALL                                                 
   8     7    >   INIT_FCALL                                               'pathinfo'
         8        SEND_VAR                                                 !0
         9        DO_ICALL                                         $4      
        10        ASSIGN                                                   !1, $4
  10    11        INIT_FCALL                                               'var_dump'
        12        SEND_VAR                                                 !1
        13        DO_ICALL                                                 
        14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0