3v4l.org

run code in 300+ PHP versions simultaneously
<?php $csv = explode(',', 'Acampo, Amador City, Antelope, Arden-Arcade, Auburn, Beal Afb, Birds Landing, Camino, Carmichael, Citrus Heights, Clarksburg, Colfax, Coloma, Cool, Courtland, Davis, Diamond Springs, Dixon, Drytown, El Dorado, Elk Grove, Elmira, Elverta, Fair Oaks, Fairfield, Folsom, Foresthill, French Camp, Galt, Garden Valley, Georgetown, Granite Bay, Grass Valley, Greenwood, Herald, Hood, Ione, Isleton, Jackson, Lathrop, Lincoln, Lockeford, Lodi, Loomis, Lotus, Manteca, Marysville, Mather, Mcclellan, Meadow Vista, Nevada City, Newcastle, Nicolaus, North Highlands, Olivehurst, Orangevale, Penn Valley, Penryn, Pilot Hill, Pine Grove, Placerville, Pleasant Grove, Plymouth, Pollock Pines, Rancho Cordova, Rescue, Rio Linda, Rio Oso, Rio Vista, Rocklin, Roseville, Rough and Ready, Ryde, Sacramento, Sheridan, Shingle Springs, Sloughhouse, Somerset, Stockton, Suisun City, Sutter Creek, Thornton, Travis Afb, Vacaville, Valley Springs, Walnut Grove, West Sacramento, Wheatland, Wilton, Winters, Woodbridge, Woodland, Yolo, Yuba City'); foreach ($csv as $item) { echo "<li><a href=\"/contact/?city=".urlencode(strtolower($item))."\">".$item."</a></li>" . "\r\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 20
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 20
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/Sqe0V
function name:  (null)
number of ops:  22
compiled vars:  !0 = $csv, !1 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%2C'
          2        SEND_VAL                                                 'Acampo%2C%0AAmador+City%2C%0AAntelope%2C%0AArden-Arcade%2C%0AAuburn%2C%0ABeal+Afb%2C%0ABirds+Landing%2C%0ACamino%2C%0ACarmichael%2C%0ACitrus+Heights%2C%0AClarksburg%2C%0AColfax%2C%0AColoma%2C%0ACool%2C%0ACourtland%2C%0ADavis%2C%0ADiamond+Springs%2C%0ADixon%2C%0ADrytown%2C%0AEl+Dorado%2C%0AElk+Grove%2C%0AElmira%2C%0AElverta%2C%0AFair+Oaks%2C%0AFairfield%2C%0AFolsom%2C%0AForesthill%2C%0AFrench+Camp%2C%0AGalt%2C%0AGarden+Valley%2C%0AGeorgetown%2C%0AGranite+Bay%2C%0AGrass+Valley%2C%0AGreenwood%2C%0AHerald%2C%0AHood%2C%0AIone%2C%0AIsleton%2C%0AJackson%2C%0ALathrop%2C%0ALincoln%2C%0ALockeford%2C%0ALodi%2C%0ALoomis%2C%0ALotus%2C%0AManteca%2C%0AMarysville%2C%0AMather%2C%0AMcclellan%2C%0AMeadow+Vista%2C%0ANevada+City%2C%0ANewcastle%2C%0ANicolaus%2C%0ANorth+Highlands%2C%0AOlivehurst%2C%0AOrangevale%2C%0APenn+Valley%2C%0APenryn%2C%0APilot+Hill%2C%0APine+Grove%2C%0APlacerville%2C%0APleasant+Grove%2C%0APlymouth%2C%0APollock+Pines%2C%0ARancho+Cordova%2C%0ARescue%2C%0ARio+Linda%2C%0ARio+Oso%2C%0ARio+Vista%2C%0ARocklin%2C%0ARoseville%2C%0ARough+and+Ready%2C%0ARyde%2C%0ASacramento%2C%0ASheridan%2C%0AShingle+Springs%2C%0ASloughhouse%2C%0ASomerset%2C%0AStockton%2C%0ASuisun+City%2C%0ASutter+Creek%2C%0AThornton%2C%0ATravis+Afb%2C%0AVacaville%2C%0AValley+Springs%2C%0AWalnut+Grove%2C%0AWest+Sacramento%2C%0AWheatland%2C%0AWilton%2C%0AWinters%2C%0AWoodbridge%2C%0AWoodland%2C%0AYolo%2C%0AYuba+City'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
   98     5      > FE_RESET_R                                       $4      !0, ->20
          6    > > FE_FETCH_R                                               $4, !1, ->20
  100     7    >   INIT_FCALL                                               'urlencode'
          8        INIT_FCALL                                               'strtolower'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        CONCAT                                           ~7      '%3Cli%3E%3Ca+href%3D%22%2Fcontact%2F%3Fcity%3D', $6
         14        CONCAT                                           ~8      ~7, '%22%3E'
         15        CONCAT                                           ~9      ~8, !1
         16        CONCAT                                           ~10     ~9, '%3C%2Fa%3E%3C%2Fli%3E'
         17        CONCAT                                           ~11     ~10, '%0D%0A'
         18        ECHO                                                     ~11
   98    19      > JMP                                                      ->6
         20    >   FE_FREE                                                  $4
  101    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.08 ms | 1396 KiB | 19 Q