3v4l.org

run code in 300+ PHP versions simultaneously
<?php dirname('uploads/sandesh/sachin') == 'uploads/sandesh';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MA1E1
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'dirname'
          1        SEND_VAL                                                 'uploads%2Fsandesh%2Fsachin'
          2        DO_ICALL                                         $0      
          3        IS_EQUAL                                         ~1      $0, 'uploads%2Fsandesh'
          4        FREE                                                     ~1
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.8 ms | 1393 KiB | 15 Q