3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d="efwerfwergwergwerg"; $dots = str_repeat('.', 60); $dots = substr($dots, 0, strlen($$d)); echo $dots;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7l6a9
function name:  (null)
number of ops:  16
compiled vars:  !0 = $d, !1 = $dots
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'efwerfwergwergwerg'
    3     1        INIT_FCALL                                               'str_repeat'
          2        SEND_VAL                                                 '.'
          3        SEND_VAL                                                 60
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    4     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 0
          9        FETCH_R                      local               ~5      !0
         10        STRLEN                                           ~6      ~5
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !1, $7
    5    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.41 ms | 1394 KiB | 17 Q