3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = ":</p> <ul> <li>We could delay deleting the unit for a \"couple of frames\" until we have had time to report events about it to the script. However, this would create a new strange state for units to be in, an <em>(about-to-be-deleted)</em> state. This will severely increase code complexity and confusion since there would be a ton of places where you would have to check if you were dealing with a \"real\" unit or an \"about-to-be-deleted\" unit, both in the script and in the engine. Horrible.</li> ou perhaps want... instead you would get Enter/Destroy. And you wouldn't be able to tell which unit was destroyed.</li> "; $message = preg_replace("/<\/p>((.|\n)+?)(?=<\/p>)/", "\n$1", $message); echo strip_tags($message); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cfMXo
function name:  (null)
number of ops:  12
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3A%3C%2Fp%3E%0A%3Cul%3E%0A%3Cli%3EWe+could+delay+deleting+the+unit+for+a+%22couple+of+frames%22+until+we+have+had+time+to+report+events+about+it+to+the+script.+However%2C+this+would+create+a+new+strange+state+for+units+to+be+in%2C+an+%3Cem%3E%28about-to-be-deleted%29%3C%2Fem%3E+state.+This+will+severely+increase+code+complexity+and+confusion+since+there+would+be+a+ton+of+places+where+you+would+have+to+check+if+you+were+dealing+with+a+%22real%22+unit+or+an+%22about-to-be-deleted%22+unit%2C+both+in+the+script+and+in+the+engine.+Horrible.%3C%2Fli%3E%0Aou+perhaps+want...+instead+you+would+get+Enter%2FDestroy.+And+you+wouldn%27t+be+able+to+tell+which+unit+was+destroyed.%3C%2Fli%3E%0A'
    7     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3C%5C%2Fp%3E%28%28.%7C%0A%29%2B%3F%29%28%3F%3D%3C%5C%2Fp%3E%29%2F'
          3        SEND_VAL                                                 '%0A%241'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    8     7        INIT_FCALL                                               'strip_tags'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
   10    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1395 KiB | 17 Q