3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = ''; while (strlen($x) < 255) { $x .= 'x'; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 3
Branch analysis from position: 3
Jump found. Position 1 = 6, Position 2 = 2
Branch analysis from position: 6
Jump found. Position 1 = -2
Branch analysis from position: 2
Jump found. Position 1 = 6, Position 2 = 2
Branch analysis from position: 6
Branch analysis from position: 2
filename:       /in/1je7v
function name:  (null)
number of ops:  7
compiled vars:  !0 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, ''
   4     1      > JMP                                                      ->3
   5     2    >   ASSIGN_CONCAT                                 0          !0, 'x'
   4     3    >   STRLEN                                           ~3      !0
         4        IS_SMALLER                                       ~4      ~3, 255
         5      > JMPNZ                                                    ~4, ->2
         6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0