3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('dsiplay_errors', 'On'); error_reporting(-1); echo 'realpath: '.realpath("/tmp/\0")."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4K13D
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'dsiplay_errors'
          2        SEND_VAL                                                 'On'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'error_reporting'
          5        SEND_VAL                                                 -1
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'realpath'
          8        SEND_VAL                                                 '%2Ftmp%2F%00'
          9        DO_ICALL                                         $2      
         10        CONCAT                                           ~3      'realpath%3A+', $2
         11        CONCAT                                           ~4      ~3, '%0A'
         12        ECHO                                                     ~4
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.91 ms | 1394 KiB | 19 Q