3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sitename = strtolower( "bla.com"); if ( substr( $sitename, 0, 4 ) == 'www.' ) { $sitename = substr( $sitename, 4 ); } echo 'wordpress@' . $sitename; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/R3edm
function name:  (null)
number of ops:  19
compiled vars:  !0 = $sitename
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtolower'
          1        SEND_VAL                                                 'bla.com'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 4
          8        DO_ICALL                                         $3      
          9        IS_EQUAL                                                 $3, 'www.'
         10      > JMPZ                                                     ~4, ->16
    4    11    >   INIT_FCALL                                               'substr'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 4
         14        DO_ICALL                                         $5      
         15        ASSIGN                                                   !0, $5
    7    16    >   CONCAT                                           ~7      'wordpress%40', !0
         17        ECHO                                                     ~7
    9    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.54 ms | 1395 KiB | 17 Q