3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start"; exec('kill -9 ' . getmypid()); echo "you should not see this";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/00Mjm
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'start'
    3     1        INIT_FCALL                                               'exec'
          2        INIT_FCALL                                               'getmypid'
          3        DO_ICALL                                         $0      
          4        CONCAT                                           ~1      'kill+-9+', $0
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                                 
    4     7        ECHO                                                     'you+should+not+see+this'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.79 ms | 1394 KiB | 17 Q