3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sentence = 'DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD'; $wrapped = wordwrap($sentence, 17, "\n", true); ?> <style> .rectangle { width: 200px; background: red; border: 1px solid #000; } </style> <div class="rectangle"> <p><?= $wrapped; ?></p> </div>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gWspS
function name:  (null)
number of ops:  12
compiled vars:  !0 = $sentence, !1 = $wrapped
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD'
    3     1        INIT_FCALL                                               'wordwrap'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 17
          4        SEND_VAL                                                 '%0A'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
    5     8        ECHO                                                     '%3Cstyle%3E%0A++++.rectangle+%7B%0A++++++++width%3A+200px%3B%0A++++++++background%3A+red%3B%0A++++++++border%3A+1px+solid+%23000%3B%0A++++%7D%0A%3C%2Fstyle%3E%0A%3Cdiv+class%3D%22rectangle%22%3E%0A++++%3Cp%3E'
   13     9        ECHO                                                     !1
         10        ECHO                                                     '%3C%2Fp%3E%0A%3C%2Fdiv%3E'
   14    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.95 ms | 1009 KiB | 14 Q