3v4l.org

run code in 300+ PHP versions simultaneously
<?php $phone = "9875643456"; $label = "%".substr($phone, 0, 3)."%".substr($phone, 3, 3)."%".substr($phone, 6, 4)."%"; echo $label;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EiGGQ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $phone, !1 = $label
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '9875643456'
    3     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $3      
          6        CONCAT                                           ~4      '%25', $3
          7        CONCAT                                           ~5      ~4, '%25'
          8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 3
         11        SEND_VAL                                                 3
         12        DO_ICALL                                         $6      
         13        CONCAT                                           ~7      ~5, $6
         14        CONCAT                                           ~8      ~7, '%25'
         15        INIT_FCALL                                               'substr'
         16        SEND_VAR                                                 !0
         17        SEND_VAL                                                 6
         18        SEND_VAL                                                 4
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     ~8, $9
         21        CONCAT                                           ~11     ~10, '%25'
         22        ASSIGN                                                   !1, ~11
    4    23        ECHO                                                     !1
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1395 KiB | 15 Q