3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $description_data = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. "; $size_check = strlen($description_data); if ($size_check > 565) { print "<div class='category-description std'> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> </div><span class='read-more' id='togglr'>Read More</span>"; } else { print "<div class='category-description-sml std'> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> </div><span class='read-more' id='togglr'>Read More</span>"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/01eOQ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $description_data, !1 = $size_check, !2 = $_helper, !3 = $_category, !4 = $_description
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'Lorem+Ipsum+is+simply+dummy+text+of+the+printing+and+typesetting+industry.+Lorem+Ipsum+has+been+the+industry%27s+standard+dummy+text+ever+since+the+1500s%2C+when+an+unknown+printer+took+a+galley+of+type+and+scrambled+it+to+make+a+type+specimen+book.+It+has+survived+not+only+five+centuries%2C+but+also+the+leap+into+electronic+typesetting%2C+remaining+essentially+unchanged.+It+was+popularised+in+the+1960s+with+the+release+of+Letraset+sheets+containing+Lorem+Ipsum+passages%2C+and+more+recently+with+desktop+publishing+software+like+Aldus+PageMaker+including+versions+of+Lorem+Ipsum.%0A'
   4     1        STRLEN                                           ~6      !0
         2        ASSIGN                                                   !1, ~6
   6     3        IS_SMALLER                                       ~8      565, !1
         4      > JMPZ                                                     ~8, ->15
   8     5    >   FETCH_OBJ_R                                      $9      !2, 'categoryAttribute'
         6        ROPE_INIT                                     7  ~11     '%3Cdiv+class%3D%27category-description+std%27%3E%0A++++++++%3C%3Fphp+echo+'
         7        ROPE_ADD                                      1  ~11     ~11, $9
         8        ROPE_ADD                                      2  ~11     ~11, '%28'
         9        ROPE_ADD                                      3  ~11     ~11, !3
        10        ROPE_ADD                                      4  ~11     ~11, '%2C+'
        11        ROPE_ADD                                      5  ~11     ~11, !4
        12        ROPE_END                                      6  ~10     ~11, '%2C+%27description%27%29+%3F%3E%0A++++%3C%2Fdiv%3E%3Cspan+class%3D%27read-more%27+id%3D%27togglr%27%3ERead+More%3C%2Fspan%3E'
        13        ECHO                                                     ~10
        14      > JMP                                                      ->24
  13    15    >   FETCH_OBJ_R                                      $15     !2, 'categoryAttribute'
        16        ROPE_INIT                                     7  ~17     '%3Cdiv+class%3D%27category-description-sml+std%27%3E%0A++++++++%3C%3Fphp+echo+'
        17        ROPE_ADD                                      1  ~17     ~17, $15
        18        ROPE_ADD                                      2  ~17     ~17, '%28'
        19        ROPE_ADD                                      3  ~17     ~17, !3
        20        ROPE_ADD                                      4  ~17     ~17, '%2C+'
        21        ROPE_ADD                                      5  ~17     ~17, !4
        22        ROPE_END                                      6  ~16     ~17, '%2C+%27description%27%29+%3F%3E%0A++++%3C%2Fdiv%3E%3Cspan+class%3D%27read-more%27+id%3D%27togglr%27%3ERead+More%3C%2Fspan%3E'
        23        ECHO                                                     ~16
  17    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0