3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f='posix_getpwuid'; $r1=function_exists('posix_getpwuid'); $r2=function_exists($f); var_dump($r1); var_dump($r2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uVV5f
function name:  (null)
number of ops:  16
compiled vars:  !0 = $f, !1 = $r1, !2 = $r2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'posix_getpwuid'
    4     1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'posix_getpwuid'
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'function_exists'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
    8    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.37 ms | 1394 KiB | 17 Q