3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isNoAnwser = 1; $isBusy = 1; $isFailed = 0; $whereDisposArray = $array(); if($isBusy) array_push($whereDisposArray, "disposition='BUSY'"); if($isNoAnswer) array_push($whereDisposArray, "disposition='ANSWERED'"); if($isFailed) array_push($whereDisposArray, "disposition='FAILED'"); $s=''; foreach ($whereDisposArray as &$value) { $s = $s . $value; } print_r($value);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
2 jumps found. (Code = 125) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
2 jumps found. (Code = 126) Position 1 = 24, Position 2 = 27
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 21
Branch analysis from position: 16
Branch analysis from position: 11
filename:       /in/qu66O
function name:  (null)
number of ops:  32
compiled vars:  !0 = $isNoAnwser, !1 = $isBusy, !2 = $isFailed, !3 = $whereDisposArray, !4 = $array, !5 = $isNoAnswer, !6 = $s, !7 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, 1
    5     2        ASSIGN                                                   !2, 0
    7     3        INIT_DYNAMIC_CALL                                        !4
          4        DO_FCALL                                      0  $11     
          5        ASSIGN                                                   !3, $11
    8     6      > JMPZ                                                     !1, ->11
          7    >   INIT_FCALL                                               'array_push'
          8        SEND_REF                                                 !3
          9        SEND_VAL                                                 'disposition%3D%27BUSY%27'
         10        DO_ICALL                                                 
    9    11    > > JMPZ                                                     !5, ->16
         12    >   INIT_FCALL                                               'array_push'
         13        SEND_REF                                                 !3
         14        SEND_VAL                                                 'disposition%3D%27ANSWERED%27'
         15        DO_ICALL                                                 
   10    16    > > JMPZ                                                     !2, ->21
         17    >   INIT_FCALL                                               'array_push'
         18        SEND_REF                                                 !3
         19        SEND_VAL                                                 'disposition%3D%27FAILED%27'
         20        DO_ICALL                                                 
   11    21    >   ASSIGN                                                   !6, ''
   12    22      > FE_RESET_RW                                      $17     !3, ->27
         23    > > FE_FETCH_RW                                              $17, !7, ->27
   13    24    >   CONCAT                                           ~18     !6, !7
         25        ASSIGN                                                   !6, ~18
   12    26      > JMP                                                      ->23
         27    >   FE_FREE                                                  $17
   16    28        INIT_FCALL                                               'print_r'
         29        SEND_VAR                                                 !7
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.29 ms | 1396 KiB | 17 Q