3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = token_get_all('<?php $perf_id == "chris" AND $date < strtotime("5th July");'); foreach($t as $i=>$k)$t[$i][0] = token_name($k[0]); print_r($t);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/lB5MP
function name:  (null)
number of ops:  20
compiled vars:  !0 = $t, !1 = $k, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'token_get_all'
          1        SEND_VAL                                                 '%3C%3Fphp+%24perf_id+%3D%3D+%22chris%22+AND+%24date+%3C+strtotime%28%225th+July%22%29%3B'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4      > FE_RESET_R                                       $5      !0, ->15
          5    > > FE_FETCH_R                                       ~6      $5, !1, ->15
          6    >   ASSIGN                                                   !2, ~6
          7        INIT_FCALL                                               'token_name'
          8        FETCH_DIM_R                                      ~10     !1, 0
          9        SEND_VAL                                                 ~10
         10        DO_ICALL                                         $11     
         11        FETCH_DIM_W                                      $8      !0, !2
         12        ASSIGN_DIM                                               $8, 0
         13        OP_DATA                                                  $11
         14      > JMP                                                      ->5
         15    >   FE_FREE                                                  $5
    4    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.03 ms | 1395 KiB | 19 Q