3v4l.org

run code in 300+ PHP versions simultaneously
<?php mkdir('/tmp/fooBarBaz'); var_dump(realpath('/tmp/foobarbaz')); var_dump(realpath('/tmp/fooBarBaz'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D1HQE
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mkdir'
          1        SEND_VAL                                                 '%2Ftmp%2FfooBarBaz'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'realpath'
          5        SEND_VAL                                                 '%2Ftmp%2Ffoobarbaz'
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'realpath'
         11        SEND_VAL                                                 '%2Ftmp%2FfooBarBaz'
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.8 ms | 1398 KiB | 19 Q