3v4l.org

run code in 300+ PHP versions simultaneously
<?php $description_data = $_helper->categoryAttribute($_category, $_description, 'description'); $size_check = strlen($description_data); if ($size_check < 565) { return "<span class='read-more' id='togglr'>Read More</span>"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Th7SZ
function name:  (null)
number of ops:  12
compiled vars:  !0 = $description_data, !1 = $_helper, !2 = $_category, !3 = $_description, !4 = $size_check
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_METHOD_CALL                                         !1, 'categoryAttribute'
          1        SEND_VAR_EX                                              !2
          2        SEND_VAR_EX                                              !3
          3        SEND_VAL_EX                                              'description'
          4        DO_FCALL                                      0  $5      
          5        ASSIGN                                                   !0, $5
    3     6        STRLEN                                           ~7      !0
          7        ASSIGN                                                   !4, ~7
    5     8        IS_SMALLER                                               !4, 565
          9      > JMPZ                                                     ~9, ->11
    6    10    > > RETURN                                                   '%3Cspan+class%3D%27read-more%27+id%3D%27togglr%27%3ERead+More%3C%2Fspan%3E'
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.17 ms | 1384 KiB | 13 Q