3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.68 ms | 1443 KiB | 14 Q