3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = "1"; settype($d,'boolean'); echo print_R($d,1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmcFn
function name:  (null)
number of ops:  11
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1'
    4     1        INIT_FCALL                                               'settype'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 'boolean'
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 1
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.04 ms | 1393 KiB | 17 Q