3v4l.org

run code in 300+ PHP versions simultaneously
<?php $term_id = 23; $query = 'SELECT foo WHERE bar = '; var_dump( $query . ((int)$term_id ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NvZWa
function name:  (null)
number of ops:  8
compiled vars:  !0 = $term_id, !1 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 23
    4     1        ASSIGN                                                   !1, 'SELECT+foo+WHERE+bar+%3D+'
    5     2        INIT_FCALL                                               'var_dump'
          3        CAST                                          4  ~4      !0
          4        CONCAT                                           ~5      !1, ~4
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.66 ms | 1394 KiB | 15 Q