3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<EOD code=876 and town=87 and geocode in(1,2,3) code=876 and town=878 and geocode in(1,2,3) code=876 and town="878" and geocode in(1,2,3) code=876 and town=8,43 and geocode in(1,2,3) code=876 and town='8,43' and geocode in(1,2,3) code=876 and town=-1 and geocode in(1,2,3) code=876 and town=N/A and geocode in(1,2,3) EOD; foreach(explode(PHP_EOL, $str) as $line){ echo explode(" ", $line)[2] . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/MOUhm
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str, !1 = $line
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'code%3D876+and+town%3D87+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3D878+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3D%22878%22+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3D8%2C43+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3D%278%2C43%27+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3D-1+and+geocode+in%281%2C2%2C3%29%0Acode%3D876+and+town%3DN%2FA+and+geocode+in%281%2C2%2C3%29'
   13     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5      > FE_RESET_R                                       $4      $3, ->15
          6    > > FE_FETCH_R                                               $4, !1, ->15
   14     7    >   INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '+'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        FETCH_DIM_R                                      ~6      $5, 2
         12        CONCAT                                           ~7      ~6, '%0A'
         13        ECHO                                                     ~7
   13    14      > JMP                                                      ->6
         15    >   FE_FREE                                                  $4
   15    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.66 ms | 942 KiB | 16 Q