3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.8 ms | 1394 KiB | 15 Q