3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello world. Beautiful day today."; $token = strtok($string, " "); while ($token !== false) { echo "$token<br>"; $token = strtok(" "); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
Branch analysis from position: 7
filename:       /in/jKuSh
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string, !1 = $token
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Hello+world.+Beautiful+day+today.'
    3     1        INIT_FCALL                                               'strtok'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '+'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    5     6      > JMP                                                      ->14
    7     7    >   NOP                                                      
          8        FAST_CONCAT                                      ~5      !1, '%3Cbr%3E'
          9        ECHO                                                     ~5
    8    10        INIT_FCALL                                               'strtok'
         11        SEND_VAL                                                 '+'
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    5    14    >   TYPE_CHECK                                  1018          !1
         15      > JMPNZ                                                    ~8, ->7
   10    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.04 ms | 1395 KiB | 15 Q