3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dsn = (object) parse_url('mysql://root@localhost/wp_sage'); var_dump($dsn); echo $dsn->pass;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yf3ck
function name:  (null)
number of ops:  11
compiled vars:  !0 = $dsn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'parse_url'
          1        SEND_VAL                                                 'mysql%3A%2F%2Froot%40localhost%2Fwp_sage'
          2        DO_ICALL                                         $1      
          3        CAST                                          8  ~2      $1
          4        ASSIGN                                                   !0, ~2
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    6     8        FETCH_OBJ_R                                      ~5      !0, 'pass'
          9        ECHO                                                     ~5
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.31 ms | 1394 KiB | 17 Q