3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt=" gopu.phaneendra"; echo strlen($txt); echo"<br>"; echo strpos($txt,"end"); echo " "; echo addcslashes($txt,"."); echo "<br>"; echo addslashes($txt); echo bin2hex($txt); echo chop($txt,"g");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gd0U4
function name:  (null)
number of ops:  30
compiled vars:  !0 = $txt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '++gopu.phaneendra'
    3     1        STRLEN                                           ~2      !0
          2        ECHO                                                     ~2
    4     3        ECHO                                                     '%3Cbr%3E'
    5     4        INIT_FCALL                                               'strpos'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 'end'
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    6     9        ECHO                                                     '++'
    7    10        INIT_FCALL                                               'addcslashes'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 '.'
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
    8    15        ECHO                                                     '%3Cbr%3E'
    9    16        INIT_FCALL                                               'addslashes'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $5      
         19        ECHO                                                     $5
   10    20        INIT_FCALL                                               'bin2hex'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $6      
         23        ECHO                                                     $6
   11    24        INIT_FCALL                                               'chop'
         25        SEND_VAR                                                 !0
         26        SEND_VAL                                                 'g'
         27        DO_ICALL                                         $7      
         28        ECHO                                                     $7
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.82 ms | 1387 KiB | 23 Q