3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = pg_connect(); echo get_resource_type($c) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QDWSP
function name:  (null)
number of ops:  9
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'pg_connect'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
    4     3        INIT_FCALL                                               'get_resource_type'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        CONCAT                                           ~4      $3, '%0A'
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.19 ms | 1393 KiB | 15 Q