3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "6"; print implode("|", range(1, (int) $string));;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B2aNj
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '6'
          1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%7C'
          3        INIT_FCALL                                               'range'
          4        SEND_VAL                                                 1
          5        CAST                                          4  ~2      !0
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.4 ms | 1001 KiB | 15 Q