3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "DELETE `index_price` FROM `catalog_product_index_price` AS `index_price` LEFT JOIN `catalog_product_index_price_idx` AS `ip_tmp` ON index_price.entity_id = ip_tmp.entity_id AND index_price.website_id = ip_tmp.website_id WHERE (ip_tmp.entity_id IS NULL)"; $break = strpos($sql, 'DELETE'); var_dump($break);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X0bm3
function name:  (null)
number of ops:  10
compiled vars:  !0 = $sql, !1 = $break
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'DELETE+%60index_price%60++FROM+%60catalog_product_index_price%60+AS+%60index_price%60%0A+LEFT+JOIN+%60catalog_product_index_price_idx%60+AS+%60ip_tmp%60+ON+index_price.entity_id+%3D+ip_tmp.entity_id+AND+index_price.website_id+%3D+ip_tmp.website_id+WHERE+%28ip_tmp.entity_id+IS+NULL%29'
    6     1        INIT_FCALL                                               'strpos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'DELETE'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    8     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:
164.08 ms | 1385 KiB | 17 Q