3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); define('SUBWAY', 'sub'); define('FOOT', 'foot'); define('BUS', 'bus'); $transportName = array( SUBWAY => 'едешь на метро', FOOT => 'идешь пешком', BUS => 'едешь на автобусе' ); $startPoint = 'pet'; // Петроградская $endPoint = 'nov'; // Новая Голландия $pointNames = array( 'pet' => 'ст. м. Петроградская', 'chk' => 'ст. м. Чкаловская', 'gor' => 'ст. м. Горьковская', 'spo' => 'ст. м. Спортивная', 'vas' => 'ст. м. Василеостровская', 'kre' => 'Петропавловская крепость', 'let' => 'Летний сад', 'dvo' => 'Дворцовая площадь', 'isa' => 'Исакиевский собор', 'nov' => 'Новая Голландия', 'ras' => 'Дом Раскольникова', 'gos' => 'Гостиный Двор', 'sen' => 'Сенная Площадь', 'vla' => 'ст. м. Владимирская', 'vit' => 'Витебский вокзал', 'teh' => 'Технологический Институт' ); $paths = array( 'pet' => array( 'chk' => canGet(10, BUS), 'gor' => canGet(3, SUBWAY) ), 'chk' => array( 'pet' => canGet(10, BUS), 'spo' => canGet(3, SUBWAY) ), 'gor' => array( 'pet' => canGet(3, BUS), 'kre' => canGet(5, FOOT), 'gos' => canGet(6, SUBWAY) ), 'spo' => array( 'chk' => canGet(3, SUBWAY), 'vas' => canGet(10, BUS), 'sen' => canGet(7, SUBWAY) ), 'vas' => array( 'spo' => canGet(10, BUS), 'gos' => canGet(7, SUBWAY), 'nov' => canGet(11, FOOT) ), 'kre' => array( 'gor' => canGet(5, FOOT) ), 'let' => array( 'dvo' => canGet(6, FOOT), 'gos' => canGet(7, FOOT) ), 'dvo' => array( 'isa' => canGet(6, FOOT), 'gos' => canGet(6, FOOT), 'let' => canGet(6, FOOT) ), 'isa' => array( 'dvo' => canGet(6, FOOT), 'nov' => canGet(5, FOOT) ), 'nov' => array( 'vas' => canGet(11, FOOT), 'isa' => canGet(5, FOOT), 'ras' => canGet(7, BUS) ), 'ras' => array( 'nov' => canGet(7, BUS), 'sen' => canGet(3, FOOT) ), 'gos' => array( 'vas' => canGet(7, SUBWAY), 'sen' => canGet(3, SUBWAY), 'dvo' => canGet(6, FOOT), 'gor' => canGet(6, SUBWAY), 'let' => canGet(7, FOOT), 'vla' => canGet(7, FOOT) ), 'sen' => array( 'ras' => canGet(3, FOOT), 'spo' => canGet(7, SUBWAY), 'gos' => canGet(3, SUBWAY), 'vla' => canGet(4, SUBWAY), 'vit' => canGet(2, SUBWAY), 'teh' => canGet(3, SUBWAY) ), 'vla' => array( 'sen' => canGet(4, SUBWAY), 'gos' => canGet(7, FOOT), 'vit' => canGet(3, SUBWAY) ), 'vit' => array( 'sen' => canGet(2, SUBWAY), 'teh' => canGet(2, SUBWAY), 'vla' => canGet(3, SUBWAY) ), 'teh' => array( 'sen' => canGet(3, SUBWAY), 'vit' => canGet(2, SUBWAY) ) ); /* Чтобы не писать много раз array('time' => ..., 'by' => ...), используем функцию. «canGet» переводится как «можно попасть» */ function canGet($time, $byWhat) { return array('time' => $time, 'by' => $byWhat); } $numberOfPaths = array(); $numberOfPaths = array_keys($pointNames); for ($i = 0; $i < count($numberOfPaths); $i++){ for ($j = 0; $j < count($numberOfPaths); $j++){ $communications[$i][$j] = 0; } } //ПОСТРОЕНИЕ ТАБЛИЦЫ ДОРОГ $connectedStops = array(); $trueConnectedStops = array(); foreach ($numberOfPaths as $key => $value) { $connectedStops = array_keys($paths[$value]); for ($i = 0; $i < count($connectedStops); $i++){ for ($j = 0; $j < count($numberOfPaths); $j++){ if ($numberOfPaths[$j] == $connectedStops[$i]){ $trueConnectedStops[$j] = $connectedStops[$i]; break; } } } foreach ($trueConnectedStops as $key2 => $value2) { $communications[$key][$key2] = $paths[$value][$value2]['time']; } $trueConnectedStops = array(); } //АЛГОРИТМ ПОИСКА САМОГО КОРОТКОГО МАРШРУТА $maxTime = array(); $visitedStops = array(); for ($i = 0; $i < count($numberOfPaths); $i++){ $maxTime[$i] = 1000000; $visitedStops[$i] = 1; } $maxTime[0] = 0; do{ $minIndex = 1000000; $minTime = 1000000; for ($i = 0; $i < count($numberOfPaths); $i++){ if (($visitedStops[$i] == 1) && ($maxTime[$i] < $minTime)){ $minTime = $maxTime[$i]; $minIndex = $i; } } if ($minIndex != 1000000){ for($i = 0; $i < count($numberOfPaths); $i++){ if ($communications[$minIndex][$i] > 0){ $temp = $minTime + $communications[$minIndex][$i]; if ($temp < $maxTime[$i]){ $maxTime[$i] = $temp; } } } $visitedStops[$minIndex] = 0; } } while ($minIndex < 1000000);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 335
Branch analysis from position: 335
2 jumps found. (Code = 44) Position 1 = 338, Position 2 = 325
Branch analysis from position: 338
2 jumps found. (Code = 77) Position 1 = 341, Position 2 = 381
Branch analysis from position: 341
2 jumps found. (Code = 78) Position 1 = 342, Position 2 = 381
Branch analysis from position: 342
1 jumps found. (Code = 42) Position 1 = 365
Branch analysis from position: 365
2 jumps found. (Code = 44) Position 1 = 368, Position 2 = 350
Branch analysis from position: 368
2 jumps found. (Code = 77) Position 1 = 369, Position 2 = 378
Branch analysis from position: 369
2 jumps found. (Code = 78) Position 1 = 370, Position 2 = 378
Branch analysis from position: 370
1 jumps found. (Code = 42) Position 1 = 369
Branch analysis from position: 369
Branch analysis from position: 378
1 jumps found. (Code = 42) Position 1 = 341
Branch analysis from position: 341
Branch analysis from position: 378
Branch analysis from position: 350
1 jumps found. (Code = 42) Position 1 = 361
Branch analysis from position: 361
2 jumps found. (Code = 44) Position 1 = 364, Position 2 = 352
Branch analysis from position: 364
2 jumps found. (Code = 44) Position 1 = 368, Position 2 = 350
Branch analysis from position: 368
Branch analysis from position: 350
Branch analysis from position: 352
2 jumps found. (Code = 43) Position 1 = 356, Position 2 = 360
Branch analysis from position: 356
1 jumps found. (Code = 42) Position 1 = 364
Branch analysis from position: 364
Branch analysis from position: 360
2 jumps found. (Code = 44) Position 1 = 364, Position 2 = 352
Branch analysis from position: 364
Branch analysis from position: 352
Branch analysis from position: 381
1 jumps found. (Code = 42) Position 1 = 391
Branch analysis from position: 391
2 jumps found. (Code = 44) Position 1 = 394, Position 2 = 386
Branch analysis from position: 394
1 jumps found. (Code = 42) Position 1 = 411
Branch analysis from position: 411
2 jumps found. (Code = 44) Position 1 = 414, Position 2 = 400
Branch analysis from position: 414
2 jumps found. (Code = 43) Position 1 = 416, Position 2 = 437
Branch analysis from position: 416
1 jumps found. (Code = 42) Position 1 = 432
Branch analysis from position: 432
2 jumps found. (Code = 44) Position 1 = 435, Position 2 = 418
Branch analysis from position: 435
2 jumps found. (Code = 44) Position 1 = 439, Position 2 = 396
Branch analysis from position: 439
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 396
Branch analysis from position: 418
2 jumps found. (Code = 43) Position 1 = 422, Position 2 = 431
Branch analysis from position: 422
2 jumps found. (Code = 43) Position 1 = 429, Position 2 = 431
Branch analysis from position: 429
2 jumps found. (Code = 44) Position 1 = 435, Position 2 = 418
Branch analysis from position: 435
Branch analysis from position: 418
Branch analysis from position: 431
Branch analysis from position: 431
Branch analysis from position: 437
Branch analysis from position: 400
2 jumps found. (Code = 46) Position 1 = 403, Position 2 = 406
Branch analysis from position: 403
2 jumps found. (Code = 43) Position 1 = 407, Position 2 = 410
Branch analysis from position: 407
2 jumps found. (Code = 44) Position 1 = 414, Position 2 = 400
Branch analysis from position: 414
Branch analysis from position: 400
Branch analysis from position: 410
Branch analysis from position: 406
Branch analysis from position: 386
2 jumps found. (Code = 44) Position 1 = 394, Position 2 = 386
Branch analysis from position: 394
Branch analysis from position: 386
Branch analysis from position: 381
Branch analysis from position: 325
1 jumps found. (Code = 42) Position 1 = 331
Branch analysis from position: 331
2 jumps found. (Code = 44) Position 1 = 334, Position 2 = 327
Branch analysis from position: 334
2 jumps found. (Code = 44) Position 1 = 338, Position 2 = 325
Branch analysis from position: 338
Branch analysis from position: 325
Branch analysis from position: 327
2 jumps found. (Code = 44) Position 1 = 334, Position 2 = 327
Branch analysis from position: 334
Branch analysis from position: 327
filename:       /in/9rcVt
function name:  (null)
number of ops:  440
compiled vars:  !0 = $transportName, !1 = $startPoint, !2 = $endPoint, !3 = $pointNames, !4 = $paths, !5 = $numberOfPaths, !6 = $i, !7 = $j, !8 = $communications, !9 = $connectedStops, !10 = $trueConnectedStops, !11 = $value, !12 = $key, !13 = $value2, !14 = $key2, !15 = $maxTime, !16 = $visitedStops, !17 = $minIndex, !18 = $minTime, !19 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'SUBWAY'
          5        SEND_VAL                                                 'sub'
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'define'
          8        SEND_VAL                                                 'FOOT'
          9        SEND_VAL                                                 'foot'
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'define'
         12        SEND_VAL                                                 'BUS'
         13        SEND_VAL                                                 'bus'
         14        DO_ICALL                                                 
   10    15        FETCH_CONSTANT                                   ~24     'SUBWAY'
         16        INIT_ARRAY                                       ~25     '%D0%B5%D0%B4%D0%B5%D1%88%D1%8C+%D0%BD%D0%B0+%D0%BC%D0%B5%D1%82%D1%80%D0%BE', ~24
   11    17        FETCH_CONSTANT                                   ~26     'FOOT'
         18        ADD_ARRAY_ELEMENT                                ~25     '%D0%B8%D0%B4%D0%B5%D1%88%D1%8C+%D0%BF%D0%B5%D1%88%D0%BA%D0%BE%D0%BC', ~26
   12    19        FETCH_CONSTANT                                   ~27     'BUS'
         20        ADD_ARRAY_ELEMENT                                ~25     '%D0%B5%D0%B4%D0%B5%D1%88%D1%8C+%D0%BD%D0%B0+%D0%B0%D0%B2%D1%82%D0%BE%D0%B1%D1%83%D1%81%D0%B5', ~27
    9    21        ASSIGN                                                   !0, ~25
   15    22        ASSIGN                                                   !1, 'pet'
   16    23        ASSIGN                                                   !2, 'nov'
   18    24        ASSIGN                                                   !3, <array>
   39    25        INIT_FCALL_BY_NAME                                       'canGet'
         26        SEND_VAL_EX                                              10
         27        FETCH_CONSTANT                                   ~32     'BUS'
         28        SEND_VAL_EX                                              ~32
         29        DO_FCALL                                      0  $33     
         30        INIT_ARRAY                                       ~34     $33, 'chk'
   40    31        INIT_FCALL_BY_NAME                                       'canGet'
         32        SEND_VAL_EX                                              3
         33        FETCH_CONSTANT                                   ~35     'SUBWAY'
         34        SEND_VAL_EX                                              ~35
         35        DO_FCALL                                      0  $36     
         36        ADD_ARRAY_ELEMENT                                ~34     $36, 'gor'
         37        INIT_ARRAY                                       ~37     ~34, 'pet'
   44    38        INIT_FCALL_BY_NAME                                       'canGet'
         39        SEND_VAL_EX                                              10
         40        FETCH_CONSTANT                                   ~38     'BUS'
         41        SEND_VAL_EX                                              ~38
         42        DO_FCALL                                      0  $39     
         43        INIT_ARRAY                                       ~40     $39, 'pet'
   45    44        INIT_FCALL_BY_NAME                                       'canGet'
         45        SEND_VAL_EX                                              3
         46        FETCH_CONSTANT                                   ~41     'SUBWAY'
         47        SEND_VAL_EX                                              ~41
         48        DO_FCALL                                      0  $42     
         49        ADD_ARRAY_ELEMENT                                ~40     $42, 'spo'
         50        ADD_ARRAY_ELEMENT                                ~37     ~40, 'chk'
   49    51        INIT_FCALL_BY_NAME                                       'canGet'
         52        SEND_VAL_EX                                              3
         53        FETCH_CONSTANT                                   ~43     'BUS'
         54        SEND_VAL_EX                                              ~43
         55        DO_FCALL                                      0  $44     
         56        INIT_ARRAY                                       ~45     $44, 'pet'
   50    57        INIT_FCALL_BY_NAME                                       'canGet'
         58        SEND_VAL_EX                                              5
         59        FETCH_CONSTANT                                   ~46     'FOOT'
         60        SEND_VAL_EX                                              ~46
         61        DO_FCALL                                      0  $47     
         62        ADD_ARRAY_ELEMENT                                ~45     $47, 'kre'
   51    63        INIT_FCALL_BY_NAME                                       'canGet'
         64        SEND_VAL_EX                                              6
         65        FETCH_CONSTANT                                   ~48     'SUBWAY'
         66        SEND_VAL_EX                                              ~48
         67        DO_FCALL                                      0  $49     
         68        ADD_ARRAY_ELEMENT                                ~45     $49, 'gos'
         69        ADD_ARRAY_ELEMENT                                ~37     ~45, 'gor'
   55    70        INIT_FCALL_BY_NAME                                       'canGet'
         71        SEND_VAL_EX                                              3
         72        FETCH_CONSTANT                                   ~50     'SUBWAY'
         73        SEND_VAL_EX                                              ~50
         74        DO_FCALL                                      0  $51     
         75        INIT_ARRAY                                       ~52     $51, 'chk'
   56    76        INIT_FCALL_BY_NAME                                       'canGet'
         77        SEND_VAL_EX                                              10
         78        FETCH_CONSTANT                                   ~53     'BUS'
         79        SEND_VAL_EX                                              ~53
         80        DO_FCALL                                      0  $54     
         81        ADD_ARRAY_ELEMENT                                ~52     $54, 'vas'
   57    82        INIT_FCALL_BY_NAME                                       'canGet'
         83        SEND_VAL_EX                                              7
         84        FETCH_CONSTANT                                   ~55     'SUBWAY'
         85        SEND_VAL_EX                                              ~55
         86        DO_FCALL                                      0  $56     
         87        ADD_ARRAY_ELEMENT                                ~52     $56, 'sen'
         88        ADD_ARRAY_ELEMENT                                ~37     ~52, 'spo'
   61    89        INIT_FCALL_BY_NAME                                       'canGet'
         90        SEND_VAL_EX                                              10
         91        FETCH_CONSTANT                                   ~57     'BUS'
         92        SEND_VAL_EX                                              ~57
         93        DO_FCALL                                      0  $58     
         94        INIT_ARRAY                                       ~59     $58, 'spo'
   62    95        INIT_FCALL_BY_NAME                                       'canGet'
         96        SEND_VAL_EX                                              7
         97        FETCH_CONSTANT                                   ~60     'SUBWAY'
         98        SEND_VAL_EX                                              ~60
         99        DO_FCALL                                      0  $61     
        100        ADD_ARRAY_ELEMENT                                ~59     $61, 'gos'
   63   101        INIT_FCALL_BY_NAME                                       'canGet'
        102        SEND_VAL_EX                                              11
        103        FETCH_CONSTANT                                   ~62     'FOOT'
        104        SEND_VAL_EX                                              ~62
        105        DO_FCALL                                      0  $63     
        106        ADD_ARRAY_ELEMENT                                ~59     $63, 'nov'
        107        ADD_ARRAY_ELEMENT                                ~37     ~59, 'vas'
   67   108        INIT_FCALL_BY_NAME                                       'canGet'
        109        SEND_VAL_EX                                              5
        110        FETCH_CONSTANT                                   ~64     'FOOT'
        111        SEND_VAL_EX                                              ~64
        112        DO_FCALL                                      0  $65     
        113        INIT_ARRAY                                       ~66     $65, 'gor'
        114        ADD_ARRAY_ELEMENT                                ~37     ~66, 'kre'
   71   115        INIT_FCALL_BY_NAME                                       'canGet'
        116        SEND_VAL_EX                                              6
        117        FETCH_CONSTANT                                   ~67     'FOOT'
        118        SEND_VAL_EX                                              ~67
        119        DO_FCALL                                      0  $68     
        120        INIT_ARRAY                                       ~69     $68, 'dvo'
   72   121        INIT_FCALL_BY_NAME                                       'canGet'
        122        SEND_VAL_EX                                              7
        123        FETCH_CONSTANT                                   ~70     'FOOT'
        124        SEND_VAL_EX                                              ~70
        125        DO_FCALL                                      0  $71     
        126        ADD_ARRAY_ELEMENT                                ~69     $71, 'gos'
        127        ADD_ARRAY_ELEMENT                                ~37     ~69, 'let'
   76   128        INIT_FCALL_BY_NAME                                       'canGet'
        129        SEND_VAL_EX                                              6
        130        FETCH_CONSTANT                                   ~72     'FOOT'
        131        SEND_VAL_EX                                              ~72
        132        DO_FCALL                                      0  $73     
        133        INIT_ARRAY                                       ~74     $73, 'isa'
   77   134        INIT_FCALL_BY_NAME                                       'canGet'
        135        SEND_VAL_EX                                              6
        136        FETCH_CONSTANT                                   ~75     'FOOT'
        137        SEND_VAL_EX                                              ~75
        138        DO_FCALL                                      0  $76     
        139        ADD_ARRAY_ELEMENT                                ~74     $76, 'gos'
   78   140        INIT_FCALL_BY_NAME                                       'canGet'
        141        SEND_VAL_EX                                              6
        142        FETCH_CONSTANT                                   ~77     'FOOT'
        143        SEND_VAL_EX                                              ~77
        144        DO_FCALL                                      0  $78     
        145        ADD_ARRAY_ELEMENT                                ~74     $78, 'let'
        146        ADD_ARRAY_ELEMENT                                ~37     ~74, 'dvo'
   82   147        INIT_FCALL_BY_NAME                                       'canGet'
        148        SEND_VAL_EX                                              6
        149        FETCH_CONSTANT                                   ~79     'FOOT'
        150        SEND_VAL_EX                                              ~79
        151        DO_FCALL                                      0  $80     
        152        INIT_ARRAY                                       ~81     $80, 'dvo'
   83   153        INIT_FCALL_BY_NAME                                       'canGet'
        154        SEND_VAL_EX                                              5
        155        FETCH_CONSTANT                                   ~82     'FOOT'
        156        SEND_VAL_EX                                              ~82
        157        DO_FCALL                                      0  $83     
        158        ADD_ARRAY_ELEMENT                                ~81     $83, 'nov'
        159        ADD_ARRAY_ELEMENT                                ~37     ~81, 'isa'
   87   160        INIT_FCALL_BY_NAME                                       'canGet'
        161        SEND_VAL_EX                                              11
        162        FETCH_CONSTANT                                   ~84     'FOOT'
        163        SEND_VAL_EX                                              ~84
        164        DO_FCALL                                      0  $85     
        165        INIT_ARRAY                                       ~86     $85, 'vas'
   88   166        INIT_FCALL_BY_NAME                                       'canGet'
        167        SEND_VAL_EX                                              5
        168        FETCH_CONSTANT                                   ~87     'FOOT'
        169        SEND_VAL_EX                                              ~87
        170        DO_FCALL                                      0  $88     
        171        ADD_ARRAY_ELEMENT                                ~86     $88, 'isa'
   89   172        INIT_FCALL_BY_NAME                                       'canGet'
        173        SEND_VAL_EX                                              7
        174        FETCH_CONSTANT                                   ~89     'BUS'
        175        SEND_VAL_EX                                              ~89
        176        DO_FCALL                                      0  $90     
        177        ADD_ARRAY_ELEMENT                                ~86     $90, 'ras'
        178        ADD_ARRAY_ELEMENT                                ~37     ~86, 'nov'
   93   179        INIT_FCALL_BY_NAME                                       'canGet'
        180        SEND_VAL_EX                                              7
        181        FETCH_CONSTANT                                   ~91     'BUS'
        182        SEND_VAL_EX                                              ~91
        183        DO_FCALL                                      0  $92     
        184        INIT_ARRAY                                       ~93     $92, 'nov'
   94   185        INIT_FCALL_BY_NAME                                       'canGet'
        186        SEND_VAL_EX                                              3
        187        FETCH_CONSTANT                                   ~94     'FOOT'
        188        SEND_VAL_EX                                              ~94
        189        DO_FCALL                                      0  $95     
        190        ADD_ARRAY_ELEMENT                                ~93     $95, 'sen'
        191        ADD_ARRAY_ELEMENT                                ~37     ~93, 'ras'
   98   192        INIT_FCALL_BY_NAME                                       'canGet'
        193        SEND_VAL_EX                                              7
        194        FETCH_CONSTANT                                   ~96     'SUBWAY'
        195        SEND_VAL_EX                                              ~96
        196        DO_FCALL                                      0  $97     
        197        INIT_ARRAY                                       ~98     $97, 'vas'
   99   198        INIT_FCALL_BY_NAME                                       'canGet'
        199        SEND_VAL_EX                                              3
        200        FETCH_CONSTANT                                   ~99     'SUBWAY'
        201        SEND_VAL_EX                                              ~99
        202        DO_FCALL                                      0  $100    
        203        ADD_ARRAY_ELEMENT                                ~98     $100, 'sen'
  100   204        INIT_FCALL_BY_NAME                                       'canGet'
        205        SEND_VAL_EX                                              6
        206        FETCH_CONSTANT                                   ~101    'FOOT'
        207        SEND_VAL_EX                                              ~101
        208        DO_FCALL                                      0  $102    
        209        ADD_ARRAY_ELEMENT                                ~98     $102, 'dvo'
  101   210        INIT_FCALL_BY_NAME                                       'canGet'
        211        SEND_VAL_EX                                              6
        212        FETCH_CONSTANT                                   ~103    'SUBWAY'
        213        SEND_VAL_EX                                              ~103
        214        DO_FCALL                                      0  $104    
        215        ADD_ARRAY_ELEMENT                                ~98     $104, 'gor'
  102   216        INIT_FCALL_BY_NAME                                       'canGet'
        217        SEND_VAL_EX                                              7
        218        FETCH_CONSTANT                                   ~105    'FOOT'
        219        SEND_VAL_EX                                              ~105
        220        DO_FCALL                                      0  $106    
        221        ADD_ARRAY_ELEMENT                                ~98     $106, 'let'
  103   222        INIT_FCALL_BY_NAME                                       'canGet'
        223        SEND_VAL_EX                                              7
        224        FETCH_CONSTANT                                   ~107    'FOOT'
        225        SEND_VAL_EX                                              ~107
        226        DO_FCALL                                      0  $108    
        227        ADD_ARRAY_ELEMENT                                ~98     $108, 'vla'
        228        ADD_ARRAY_ELEMENT                                ~37     ~98, 'gos'
  107   229        INIT_FCALL_BY_NAME                                       'canGet'
        230        SEND_VAL_EX                                              3
        231        FETCH_CONSTANT                                   ~109    'FOOT'
        232        SEND_VAL_EX                                              ~109
        233        DO_FCALL                                      0  $110    
        234        INIT_ARRAY                                       ~111    $110, 'ras'
  108   235        INIT_FCALL_BY_NAME                                       'canGet'
        236        SEND_VAL_EX                                              7
        237        FETCH_CONSTANT                                   ~112    'SUBWAY'
        238        SEND_VAL_EX                                              ~112
        239        DO_FCALL                                      0  $113    
        240        ADD_ARRAY_ELEMENT                                ~111    $113, 'spo'
  109   241        INIT_FCALL_BY_NAME                                       'canGet'
        242        SEND_VAL_EX                                              3
        243        FETCH_CONSTANT                                   ~114    'SUBWAY'
        244        SEND_VAL_EX                                              ~114
        245        DO_FCALL                                      0  $115    
        246        ADD_ARRAY_ELEMENT                                ~111    $115, 'gos'
  110   247        INIT_FCALL_BY_NAME                                       'canGet'
        248        SEND_VAL_EX                                              4
        249        FETCH_CONSTANT                                   ~116    'SUBWAY'
        250        SEND_VAL_EX                                              ~116
        251        DO_FCALL                                      0  $117    
        252        ADD_ARRAY_ELEMENT                                ~111    $117, 'vla'
  111   253        INIT_FCALL_BY_NAME                                       'canGet'
        254        SEND_VAL_EX                                              2
        255        FETCH_CONSTANT                                   ~118    'SUBWAY'
        256        SEND_VAL_EX                                              ~118
        257        DO_FCALL                                      0  $119    
        258        ADD_ARRAY_ELEMENT                                ~111    $119, 'vit'
  112   259        INIT_FCALL_BY_NAME                                       'canGet'
        260        SEND_VAL_EX                                              3
        261        FETCH_CONSTANT                                   ~120    'SUBWAY'
        262        SEND_VAL_EX                                              ~120
        263        DO_FCALL                                      0  $121    
        264        ADD_ARRAY_ELEMENT                                ~111    $121, 'teh'
        265        ADD_ARRAY_ELEMENT                                ~37     ~111, 'sen'
  116   266        INIT_FCALL_BY_NAME                                       'canGet'
        267        SEND_VAL_EX                                              4
        268        FETCH_CONSTANT                                   ~122    'SUBWAY'
        269        SEND_VAL_EX                                              ~122
        270        DO_FCALL                                      0  $123    
        271        INIT_ARRAY                                       ~124    $123, 'sen'
  117   272        INIT_FCALL_BY_NAME                                       'canGet'
        273        SEND_VAL_EX                                              7
        274        FETCH_CONSTANT                                   ~125    'FOOT'
        275        SEND_VAL_EX                                              ~125
        276        DO_FCALL                                      0  $126    
        277        ADD_ARRAY_ELEMENT                                ~124    $126, 'gos'
  118   278        INIT_FCALL_BY_NAME                                       'canGet'
        279        SEND_VAL_EX                                              3
        280        FETCH_CONSTANT                                   ~127    'SUBWAY'
        281        SEND_VAL_EX                                              ~127
        282        DO_FCALL                                      0  $128    
        283        ADD_ARRAY_ELEMENT                                ~124    $128, 'vit'
        284        ADD_ARRAY_ELEMENT                                ~37     ~124, 'vla'
  122   285        INIT_FCALL_BY_NAME                                       'canGet'
        286        SEND_VAL_EX                                              2
        287        FETCH_CONSTANT                                   ~129    'SUBWAY'
        288        SEND_VAL_EX                                              ~129
        289        DO_FCALL                                      0  $130    
        290        INIT_ARRAY                                       ~131    $130, 'sen'
  123   291        INIT_FCALL_BY_NAME                                       'canGet'
        292        SEND_VAL_EX                                              2
        293        FETCH_CONSTANT                                   ~132    'SUBWAY'
        294        SEND_VAL_EX                                              ~132
        295        DO_FCALL                                      0  $133    
        296        ADD_ARRAY_ELEMENT                                ~131    $133, 'teh'
  124   297        INIT_FCALL_BY_NAME                                       'canGet'
        298        SEND_VAL_EX                                              3
        299        FETCH_CONSTANT                                   ~134    'SUBWAY'
        300        SEND_VAL_EX                                              ~134
        301        DO_FCALL                                      0  $135    
        302        ADD_ARRAY_ELEMENT                                ~131    $135, 'vla'
        303        ADD_ARRAY_ELEMENT                                ~37     ~131, 'vit'
  128   304        INIT_FCALL_BY_NAME                                       'canGet'
        305        SEND_VAL_EX                                              3
        306        FETCH_CONSTANT                                   ~136    'SUBWAY'
        307        SEND_VAL_EX                                              ~136
        308        DO_FCALL                                      0  $137    
        309        INIT_ARRAY                                       ~138    $137, 'sen'
  129   310        INIT_FCALL_BY_NAME                                       'canGet'
        311        SEND_VAL_EX                                              2
        312        FETCH_CONSTANT                                   ~139    'SUBWAY'
        313        SEND_VAL_EX                                              ~139
        314        DO_FCALL                                      0  $140    
        315        ADD_ARRAY_ELEMENT                                ~138    $140, 'vit'
        316        ADD_ARRAY_ELEMENT                                ~37     ~138, 'teh'
   37   317        ASSIGN                                                   !4, ~37
  139   318        ASSIGN                                                   !5, <array>
  140   319        INIT_FCALL                                               'array_keys'
        320        SEND_VAR                                                 !3
        321        DO_ICALL                                         $143    
        322        ASSIGN                                                   !5, $143
  142   323        ASSIGN                                                   !6, 0
        324      > JMP                                                      ->335
  143   325    >   ASSIGN                                                   !7, 0
        326      > JMP                                                      ->331
  144   327    >   FETCH_DIM_W                                      $147    !8, !6
        328        ASSIGN_DIM                                               $147, !7
        329        OP_DATA                                                  0
  143   330        PRE_INC                                                  !7
        331    >   COUNT                                            ~150    !5
        332        IS_SMALLER                                               !7, ~150
        333      > JMPNZ                                                    ~151, ->327
  142   334    >   PRE_INC                                                  !6
        335    >   COUNT                                            ~153    !5
        336        IS_SMALLER                                               !6, ~153
        337      > JM

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.11 ms | 1428 KiB | 19 Q