3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<< 'JSON' {"main_sql":"select now(), col2, col3 as col3$_key_ , round(sum(col4)/%placeholder1%) as f_sum_col4$_key2, round((sum(col5)/%placeholder1%/1000000)*8) as f_sum_col5$_key3 from table1 where col6 != 'string1' and col8 NOT like '%STRING2%' and col9 like '%STRING3%' and col7 > %placeholder1% group by col2, col3 having ((sum(col4)/%placeholder1%) > 100000) or ((sum(col5)/%placeholder1%/1000000)*8) > 1000 order by f_sum_col5$_key3 DESC limit 100 "} JSON; var_dump(json_decode($json, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3oEnI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22main_sql%22%3A%22select+now%28%29%2C+col2%2C+col3+as+col3%24_key_+%2C+round%28sum%28col4%29%2F%25placeholder1%25%29+as+f_sum_col4%24_key2%2C+round%28%28sum%28col5%29%2F%25placeholder1%25%2F1000000%29%2A8%29+as+f_sum_col5%24_key3+from+table1+where+col6+%21%3D+%27string1%27+and+col8+NOT+like+%27%25STRING2%25%27+and+col9+like+%27%25STRING3%25%27+and+col7+%3E+%25placeholder1%25+group+by+col2%2C+col3+having+%28%28sum%28col4%29%2F%25placeholder1%25%29+%3E+100000%29+or+%28%28sum%28col5%29%2F%25placeholder1%25%2F1000000%29%2A8%29+%3E+1000+order+by+f_sum_col5%24_key3+DESC+limit+100+%22%7D'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.21 ms | 1394 KiB | 17 Q