3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tabMots[0] = "d'options"; $sql = ' WHERE (p.description LIKE \'% '.$tabMots[0].'%\''; echo $sql;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ti0Pj
function name:  (null)
number of ops:  8
compiled vars:  !0 = $tabMots, !1 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  'd%27options'
    4     2        FETCH_DIM_R                                      ~3      !0, 0
          3        CONCAT                                           ~4      '+WHERE+%28p.description+LIKE+%27%25+', ~3
          4        CONCAT                                           ~5      ~4, '%25%27'
          5        ASSIGN                                                   !1, ~5
    5     6        ECHO                                                     !1
    6     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.61 ms | 993 KiB | 13 Q