3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<script>$(document).ready(function(){ $('.modal-" . $row->id . "').hide();$('#delete-" . $row->id . "').click(function(){ $('.modal-" . $row->id . "').show();});$('#cancel-" . $row->id . "').click(function(){ $('.modal-" . $row->id . "').hide();});});</script>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N4D9A
function name:  (null)
number of ops:  17
compiled vars:  !0 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_OBJ_R                                      ~1      !0, 'id'
          1        CONCAT                                           ~2      '%3Cscript%3E%24%28document%29.ready%28function%28%29%7B+%24%28%27.modal-', ~1
          2        CONCAT                                           ~3      ~2, '%27%29.hide%28%29%3B%24%28%27%23delete-'
          3        FETCH_OBJ_R                                      ~4      !0, 'id'
          4        CONCAT                                           ~5      ~3, ~4
          5        CONCAT                                           ~6      ~5, '%27%29.click%28function%28%29%7B+%24%28%27.modal-'
          6        FETCH_OBJ_R                                      ~7      !0, 'id'
          7        CONCAT                                           ~8      ~6, ~7
          8        CONCAT                                           ~9      ~8, '%27%29.show%28%29%3B%7D%29%3B%24%28%27%23cancel-'
          9        FETCH_OBJ_R                                      ~10     !0, 'id'
         10        CONCAT                                           ~11     ~9, ~10
         11        CONCAT                                           ~12     ~11, '%27%29.click%28function%28%29%7B+%24%28%27.modal-'
         12        FETCH_OBJ_R                                      ~13     !0, 'id'
         13        CONCAT                                           ~14     ~12, ~13
         14        CONCAT                                           ~15     ~14, '%27%29.hide%28%29%3B%7D%29%3B%7D%29%3B%3C%2Fscript%3E'
         15        ECHO                                                     ~15
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.98 ms | 994 KiB | 13 Q