3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sampleString = "082307"; $length = strlen($sampleString); while ($length%2 == 0) echo chunk_split($sampleString, 2, ':'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/HGYtR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $sampleString, !1 = $length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '082307'
    4     1        STRLEN                                           ~3      !0
          2        ASSIGN                                                   !1, ~3
    6     3      > JMP                                                      ->10
    7     4    >   INIT_FCALL                                               'chunk_split'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 2
          7        SEND_VAL                                                 '%3A'
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
    6    10    >   MOD                                              ~6      !1, 2
         11        IS_EQUAL                                                 ~6, 0
         12      > JMPNZ                                                    ~7, ->4
   10    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.52 ms | 1394 KiB | 15 Q