3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isNoAnwser = "1"; $isBusy = "1"; $isFailed = "0"; $whereDisposArray = array(); if($isBusy == 1) array_push($whereDisposArray, "disposition='BUSY'"); if($isNoAnswer == 1) array_push($whereDisposArray, "disposition='ANSWERED'"); if($isFailed == 1) array_push($whereDisposArray, "disposition='FAILED'"); $s=''; //foreach ($whereDisposArray as &$value) { // $s = $s . $value; //} print_r($s);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 16
Branch analysis from position: 10
filename:       /in/o3WWb
function name:  (null)
number of ops:  27
compiled vars:  !0 = $isNoAnwser, !1 = $isBusy, !2 = $isFailed, !3 = $whereDisposArray, !4 = $isNoAnswer, !5 = $s
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        ASSIGN                                                   !3, <array>
    8     4        IS_EQUAL                                                 !1, 1
          5      > JMPZ                                                     ~10, ->10
          6    >   INIT_FCALL                                               'array_push'
          7        SEND_REF                                                 !3
          8        SEND_VAL                                                 'disposition%3D%27BUSY%27'
          9        DO_ICALL                                                 
    9    10    >   IS_EQUAL                                                 !4, 1
         11      > JMPZ                                                     ~12, ->16
         12    >   INIT_FCALL                                               'array_push'
         13        SEND_REF                                                 !3
         14        SEND_VAL                                                 'disposition%3D%27ANSWERED%27'
         15        DO_ICALL                                                 
   10    16    >   IS_EQUAL                                                 !2, 1
         17      > JMPZ                                                     ~14, ->22
         18    >   INIT_FCALL                                               'array_push'
         19        SEND_REF                                                 !3
         20        SEND_VAL                                                 'disposition%3D%27FAILED%27'
         21        DO_ICALL                                                 
   11    22    >   ASSIGN                                                   !5, ''
   16    23        INIT_FCALL                                               'print_r'
         24        SEND_VAR                                                 !5
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.99 ms | 941 KiB | 18 Q