3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.44 ms | 1392 KiB | 13 Q