3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.49 ms | 1404 KiB | 15 Q