3v4l.org

run code in 300+ PHP versions simultaneously
<?php $runs = 1000; $agree = array('count' => 0, 'To Mom' => 0, 'To Dad' => 0, 'Joint' => 0); $disagree = array('count' => 0, 'Sole Fight' => 0, 'FsMj' => 0, 'MsFj' => 0, 'MfFm' => 0, 'other' => 0); $dadSole = 0; $momSole = 0; $fChk = array('f' => 0, 'm' => 0, 'j' => 0); $mChk = array('f' => 0, 'm' => 0, 'j' => 0, 'o' => 0); for ($i=0; $i < $runs ; $i++) { $mPref = rand(1,100); $fPref = rand(1,100); #### checking random chooser #### switch(fChoice($fPref)){ case 'f': $fChk['f']++; break; case 'm': $fChk['m']++; break; case 'joint': $fChk['j']++; break; } switch(mChoice($mPref)){ case 'f': $mChk['f']++; break; case 'm': $mChk['m']++; break; case 'joint': $mChk['j']++; break; case 'other': $mChk['o']++; break; } #### ####### ####### ####### #### if(fChoice($fPref) == mChoice($mPref) ) { // if in agreement $agree['count']++; // increment counter switch (fChoice($fPref)) { // increment specific choice agreed upon case 'f': $agree['To Mom']++; break; case 'm': $agree['To Dad']++; break; case 'joint': $agree['Joint']++; break; } } else { // calculate stats for disagreements if(mChoice($mPref) == 'other') { continue; } // toss out Dad wants other cases $disagree['count']++; if(fChoice($fPref) == 'f') { // mom wants sole $momSole++; } if(mChoice($mPref) == 'm'){ // dad wants sole $dadSole++; } if(fChoice($fPref) == 'f' && mChoice($mPref) == 'm') { // both want sole $disagree['Sole Fight']++; } elseif(fChoice($fPref) == 'f' && mChoice($mPref) == 'joint') { // Mom Sole - Dad Joint $disagree['FsMj']++; } elseif(fChoice($fPref) == 'joint' && mChoice($mPref) == 'm') { // Mom Joint - Dad Sole $disagree['MsFj']++; } elseif(fChoice($fPref) == 'm' && mChoice($mPref) == 'f') { // hot potato $disagree['MfFm']++; } else { $disagree['other']++; // echo 'Dad wants '.mChoice($mPref).' and Mom wants '.fChoice($fPref).'<br>'; } } } $sigDigits = 2; $percentAgree = $agree['count'] / $runs * 100; $percentDisagree = $disagree['count'] / $runs * 100; $agreeMom = round($agree['To Mom'] / $agree['count'] * 100, $sigDigits); $agreeDad = round($agree['To Dad'] / $agree['count'] * 100, $sigDigits); $agreeJnt = round($agree['Joint'] / $agree['count'] * 100, $sigDigits); $disagreeSole = round($disagree['Sole Fight'] / $disagree['count'] * 100, $sigDigits); $disagreeFsMj = round($disagree['FsMj'] / $disagree['count'] * 100, $sigDigits); $disagreeMsFj = round($disagree['MsFj'] / $disagree['count'] * 100, $sigDigits); $disagreeNone = round($disagree['MfFm'] / $disagree['count'] * 100, $sigDigits); $disagreeOther = round($disagree['other'] / $disagree['count'] * 100, $sigDigits); $dadPercent = round($dadSole / $disagree['count'] * 100, $sigDigits); $momPercent = round($momSole / $disagree['count'] * 100, $sigDigits); // 'Sole Fight' => 0, 'FsMj' => 0, 'MsFj' => 0, 'other' => 0 echo "From {$runs} runs there were {$percentAgree}% agreements and {$percentDisagree}% disagreements."; echo "From the agreements <ul> <li>{$agreeMom}% go to Mom</li> <li>{$agreeDad}% go to Dad</li> <li>{$agreeJnt}% joint custody</li> </ul>"; echo "From the disagreements <ul> <li> {$momPercent}% of Mom's want sole custody</li> <li> {$dadPercent}% of Dad's want sole custody</li> <br><br> <li>{$disagreeSole}% both want Sole Custody</li> <li>{$disagreeFsMj}% of cases: Mom wants Sole; Dad joint</li> <li>{$disagreeMsFj}% of cases: Dad wants Sole; Mom joint</li> <li>{$disagreeNone}% of cases: Hot Potato the Kids!</li> <li>{$disagreeOther}% are in another configuration of disagreement</li> </ul>"; foreach ($fChk as &$optionCount) { $optionCount = round($optionCount / $runs * 100, $sigDigits); } foreach ($mChk as &$optionCount) { $optionCount = round($optionCount / $runs * 100, $sigDigits); } echo "<br><br>"; print_r($fChk); echo "<br><br>"; print_r($mChk); function fChoice ($num) { if($num <= 82) { return 'f'; } if($num <= 85) { return 'm'; } else { return 'joint'; } } function mChoice ($num) { if($num <= 29) { return 'f'; } if($num <= 62) { return 'm'; } if ($num <= 97) { return 'joint'; } else { return 'other'; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 177
Branch analysis from position: 177
2 jumps found. (Code = 44) Position 1 = 179, Position 2 = 9
Branch analysis from position: 179
2 jumps found. (Code = 125) Position 1 = 309, Position 2 = 318
Branch analysis from position: 309
2 jumps found. (Code = 126) Position 1 = 310, Position 2 = 318
Branch analysis from position: 310
1 jumps found. (Code = 42) Position 1 = 309
Branch analysis from position: 309
Branch analysis from position: 318
2 jumps found. (Code = 125) Position 1 = 320, Position 2 = 329
Branch analysis from position: 320
2 jumps found. (Code = 126) Position 1 = 321, Position 2 = 329
Branch analysis from position: 321
1 jumps found. (Code = 42) Position 1 = 320
Branch analysis from position: 320
Branch analysis from position: 329
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 329
Branch analysis from position: 318
Branch analysis from position: 9
5 jumps found. (Code = 188) Position 1 = 30, Position 2 = 33, Position 3 = 36, Position 4 = 39, Position 5 = 23
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
6 jumps found. (Code = 188) Position 1 = 53, Position 2 = 56, Position 3 = 59, Position 4 = 62, Position 5 = 65, Position 6 = 44
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 98
Branch analysis from position: 74
5 jumps found. (Code = 188) Position 1 = 87, Position 2 = 90, Position 3 = 93, Position 4 = 96, Position 5 = 80
Branch analysis from position: 87
1 jumps found. (Code = 42) Position 1 = 96
Branch analysis from position: 96
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
2 jumps found. (Code = 44) Position 1 = 179, Position 2 = 9
Branch analysis from position: 179
Branch analysis from position: 9
Branch analysis from position: 90
1 jumps found. (Code = 42) Position 1 = 96
Branch analysis from position: 96
Branch analysis from position: 93
1 jumps found. (Code = 42) Position 1 = 96
Branch analysis from position: 96
Branch analysis from position: 96
Branch analysis from position: 80
2 jumps found. (Code = 44) Position 1 = 82, Position 2 = 87
Branch analysis from position: 82
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 90
Branch analysis from position: 84
2 jumps found. (Code = 44) Position 1 = 86, Position 2 = 93
Branch analysis from position: 86
1 jumps found. (Code = 42) Position 1 = 96
Branch analysis from position: 96
Branch analysis from position: 93
Branch analysis from position: 90
Branch analysis from position: 87
Branch analysis from position: 98
2 jumps found. (Code = 43) Position 1 = 103, Position 2 = 104
Branch analysis from position: 103
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
Branch analysis from position: 104
2 jumps found. (Code = 43) Position 1 = 111, Position 2 = 112
Branch analysis from position: 111
2 jumps found. (Code = 43) Position 1 = 117, Position 2 = 118
Branch analysis from position: 117
2 jumps found. (Code = 46) Position 1 = 123, Position 2 = 128
Branch analysis from position: 123
2 jumps found. (Code = 43) Position 1 = 129, Position 2 = 132
Branch analysis from position: 129
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
Branch analysis from position: 132
2 jumps found. (Code = 46) Position 1 = 137, Position 2 = 142
Branch analysis from position: 137
2 jumps found. (Code = 43) Position 1 = 143, Position 2 = 146
Branch analysis from position: 143
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
Branch analysis from position: 146
2 jumps found. (Code = 46) Position 1 = 151, Position 2 = 156
Branch analysis from position: 151
2 jumps found. (Code = 43) Position 1 = 157, Position 2 = 160
Branch analysis from position: 157
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
Branch analysis from position: 160
2 jumps found. (Code = 46) Position 1 = 165, Position 2 = 170
Branch analysis from position: 165
2 jumps found. (Code = 43) Position 1 = 171, Position 2 = 174
Branch analysis from position: 171
1 jumps found. (Code = 42) Position 1 = 176
Branch analysis from position: 176
Branch analysis from position: 174
2 jumps found. (Code = 44) Position 1 = 179, Position 2 = 9
Branch analysis from position: 179
Branch analysis from position: 9
Branch analysis from position: 170
Branch analysis from position: 156
Branch analysis from position: 142
Branch analysis from position: 128
Branch analysis from position: 118
Branch analysis from position: 112
Branch analysis from position: 56
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
Branch analysis from position: 62
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
Branch analysis from position: 65
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 53
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 56
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 50, Position 2 = 59
Branch analysis from position: 50
2 jumps found. (Code = 44) Position 1 = 52, Position 2 = 62
Branch analysis from position: 52
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
Branch analysis from position: 62
Branch analysis from position: 59
Branch analysis from position: 56
Branch analysis from position: 53
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
Branch analysis from position: 39
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 30
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 33
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 36
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
Branch analysis from position: 36
Branch analysis from position: 33
Branch analysis from position: 30
filename:       /in/v391h
function name:  (null)
number of ops:  339
compiled vars:  !0 = $runs, !1 = $agree, !2 = $disagree, !3 = $dadSole, !4 = $momSole, !5 = $fChk, !6 = $mChk, !7 = $i, !8 = $mPref, !9 = $fPref, !10 = $sigDigits, !11 = $percentAgree, !12 = $percentDisagree, !13 = $agreeMom, !14 = $agreeDad, !15 = $agreeJnt, !16 = $disagreeSole, !17 = $disagreeFsMj, !18 = $disagreeMsFj, !19 = $disagreeNone, !20 = $disagreeOther, !21 = $dadPercent, !22 = $momPercent, !23 = $optionCount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1000
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        ASSIGN                                                   !3, 0
    6     4        ASSIGN                                                   !4, 0
    8     5        ASSIGN                                                   !5, <array>
    9     6        ASSIGN                                                   !6, <array>
   10     7        ASSIGN                                                   !7, 0
          8      > JMP                                                      ->177
   11     9    >   INIT_FCALL                                               'rand'
         10        SEND_VAL                                                 1
         11        SEND_VAL                                                 100
         12        DO_ICALL                                         $32     
         13        ASSIGN                                                   !8, $32
   12    14        INIT_FCALL                                               'rand'
         15        SEND_VAL                                                 1
         16        SEND_VAL                                                 100
         17        DO_ICALL                                         $34     
         18        ASSIGN                                                   !9, $34
   15    19        INIT_FCALL_BY_NAME                                       'fChoice'
         20        SEND_VAR_EX                                              !9
         21        DO_FCALL                                      0  $36     
         22      > SWITCH_STRING                                            $36, [ 'f':->30, 'm':->33, 'joint':->36, ], ->39
   16    23    >   CASE                                                     $36, 'f'
         24      > JMPNZ                                                    ~37, ->30
   19    25    >   CASE                                                     $36, 'm'
         26      > JMPNZ                                                    ~37, ->33
   22    27    >   CASE                                                     $36, 'joint'
         28      > JMPNZ                                                    ~37, ->36
         29    > > JMP                                                      ->39
   17    30    >   FETCH_DIM_RW                                     $38     !5, 'f'
         31        PRE_INC                                                  $38
   18    32      > JMP                                                      ->39
   20    33    >   FETCH_DIM_RW                                     $40     !5, 'm'
         34        PRE_INC                                                  $40
   21    35      > JMP                                                      ->39
   23    36    >   FETCH_DIM_RW                                     $42     !5, 'j'
         37        PRE_INC                                                  $42
   24    38      > JMP                                                      ->39
         39    >   FREE                                                     $36
   27    40        INIT_FCALL_BY_NAME                                       'mChoice'
         41        SEND_VAR_EX                                              !8
         42        DO_FCALL                                      0  $44     
         43      > SWITCH_STRING                                            $44, [ 'f':->53, 'm':->56, 'joint':->59, 'other':->62, ], ->65
   28    44    >   CASE                                                     $44, 'f'
         45      > JMPNZ                                                    ~45, ->53
   31    46    >   CASE                                                     $44, 'm'
         47      > JMPNZ                                                    ~45, ->56
   34    48    >   CASE                                                     $44, 'joint'
         49      > JMPNZ                                                    ~45, ->59
   37    50    >   CASE                                                     $44, 'other'
         51      > JMPNZ                                                    ~45, ->62
         52    > > JMP                                                      ->65
   29    53    >   FETCH_DIM_RW                                     $46     !6, 'f'
         54        PRE_INC                                                  $46
   30    55      > JMP                                                      ->65
   32    56    >   FETCH_DIM_RW                                     $48     !6, 'm'
         57        PRE_INC                                                  $48
   33    58      > JMP                                                      ->65
   35    59    >   FETCH_DIM_RW                                     $50     !6, 'j'
         60        PRE_INC                                                  $50
   36    61      > JMP                                                      ->65
   38    62    >   FETCH_DIM_RW                                     $52     !6, 'o'
         63        PRE_INC                                                  $52
   39    64      > JMP                                                      ->65
         65    >   FREE                                                     $44
   43    66        INIT_FCALL_BY_NAME                                       'fChoice'
         67        SEND_VAR_EX                                              !9
         68        DO_FCALL                                      0  $54     
         69        INIT_FCALL_BY_NAME                                       'mChoice'
         70        SEND_VAR_EX                                              !8
         71        DO_FCALL                                      0  $55     
         72        IS_EQUAL                                                 $54, $55
         73      > JMPZ                                                     ~56, ->98
   44    74    >   FETCH_DIM_RW                                     $57     !1, 'count'
         75        PRE_INC                                                  $57
   45    76        INIT_FCALL_BY_NAME                                       'fChoice'
         77        SEND_VAR_EX                                              !9
         78        DO_FCALL                                      0  $59     
         79      > SWITCH_STRING                                            $59, [ 'f':->87, 'm':->90, 'joint':->93, ], ->96
   46    80    >   CASE                                                     $59, 'f'
         81      > JMPNZ                                                    ~60, ->87
   49    82    >   CASE                                                     $59, 'm'
         83      > JMPNZ                                                    ~60, ->90
   52    84    >   CASE                                                     $59, 'joint'
         85      > JMPNZ                                                    ~60, ->93
         86    > > JMP                                                      ->96
   47    87    >   FETCH_DIM_RW                                     $61     !1, 'To+Mom'
         88        PRE_INC                                                  $61
   48    89      > JMP                                                      ->96
   50    90    >   FETCH_DIM_RW                                     $63     !1, 'To+Dad'
         91        PRE_INC                                                  $63
   51    92      > JMP                                                      ->96
   53    93    >   FETCH_DIM_RW                                     $65     !1, 'Joint'
         94        PRE_INC                                                  $65
   54    95      > JMP                                                      ->96
         96    >   FREE                                                     $59
         97      > JMP                                                      ->176
   58    98    >   INIT_FCALL_BY_NAME                                       'mChoice'
         99        SEND_VAR_EX                                              !8
        100        DO_FCALL                                      0  $67     
        101        IS_EQUAL                                                 $67, 'other'
        102      > JMPZ                                                     ~68, ->104
        103    > > JMP                                                      ->176
   60   104    >   FETCH_DIM_RW                                     $69     !2, 'count'
        105        PRE_INC                                                  $69
   61   106        INIT_FCALL_BY_NAME                                       'fChoice'
        107        SEND_VAR_EX                                              !9
        108        DO_FCALL                                      0  $71     
        109        IS_EQUAL                                                 $71, 'f'
        110      > JMPZ                                                     ~72, ->112
   62   111    >   PRE_INC                                                  !4
   64   112    >   INIT_FCALL_BY_NAME                                       'mChoice'
        113        SEND_VAR_EX                                              !8
        114        DO_FCALL                                      0  $74     
        115        IS_EQUAL                                                 $74, 'm'
        116      > JMPZ                                                     ~75, ->118
   65   117    >   PRE_INC                                                  !3
   68   118    >   INIT_FCALL_BY_NAME                                       'fChoice'
        119        SEND_VAR_EX                                              !9
        120        DO_FCALL                                      0  $77     
        121        IS_EQUAL                                         ~78     $77, 'f'
        122      > JMPZ_EX                                          ~78     ~78, ->128
        123    >   INIT_FCALL_BY_NAME                                       'mChoice'
        124        SEND_VAR_EX                                              !8
        125        DO_FCALL                                      0  $79     
        126        IS_EQUAL                                         ~80     $79, 'm'
        127        BOOL                                             ~78     ~80
        128    > > JMPZ                                                     ~78, ->132
   69   129    >   FETCH_DIM_RW                                     $81     !2, 'Sole+Fight'
        130        PRE_INC                                                  $81
        131      > JMP                                                      ->176
   71   132    >   INIT_FCALL_BY_NAME                                       'fChoice'
        133        SEND_VAR_EX                                              !9
        134        DO_FCALL                                      0  $83     
        135        IS_EQUAL                                         ~84     $83, 'f'
        136      > JMPZ_EX                                          ~84     ~84, ->142
        137    >   INIT_FCALL_BY_NAME                                       'mChoice'
        138        SEND_VAR_EX                                              !8
        139        DO_FCALL                                      0  $85     
        140        IS_EQUAL                                         ~86     $85, 'joint'
        141        BOOL                                             ~84     ~86
        142    > > JMPZ                                                     ~84, ->146
   72   143    >   FETCH_DIM_RW                                     $87     !2, 'FsMj'
        144        PRE_INC                                                  $87
        145      > JMP                                                      ->176
   74   146    >   INIT_FCALL_BY_NAME                                       'fChoice'
        147        SEND_VAR_EX                                              !9
        148        DO_FCALL                                      0  $89     
        149        IS_EQUAL                                         ~90     $89, 'joint'
        150      > JMPZ_EX                                          ~90     ~90, ->156
        151    >   INIT_FCALL_BY_NAME                                       'mChoice'
        152        SEND_VAR_EX                                              !8
        153        DO_FCALL                                      0  $91     
        154        IS_EQUAL                                         ~92     $91, 'm'
        155        BOOL                                             ~90     ~92
        156    > > JMPZ                                                     ~90, ->160
   75   157    >   FETCH_DIM_RW                                     $93     !2, 'MsFj'
        158        PRE_INC                                                  $93
        159      > JMP                                                      ->176
   77   160    >   INIT_FCALL_BY_NAME                                       'fChoice'
        161        SEND_VAR_EX                                              !9
        162        DO_FCALL                                      0  $95     
        163        IS_EQUAL                                         ~96     $95, 'm'
        164      > JMPZ_EX                                          ~96     ~96, ->170
        165    >   INIT_FCALL_BY_NAME                                       'mChoice'
        166        SEND_VAR_EX                                              !8
        167        DO_FCALL                                      0  $97     
        168        IS_EQUAL                                         ~98     $97, 'f'
        169        BOOL                                             ~96     ~98
        170    > > JMPZ                                                     ~96, ->174
   78   171    >   FETCH_DIM_RW                                     $99     !2, 'MfFm'
        172        PRE_INC                                                  $99
        173      > JMP                                                      ->176
   82   174    >   FETCH_DIM_RW                                     $101    !2, 'other'
        175        PRE_INC                                                  $101
   10   176    >   PRE_INC                                                  !7
        177    >   IS_SMALLER                                               !7, !0
        178      > JMPNZ                                                    ~104, ->9
   88   179    >   ASSIGN                                                   !10, 2
   90   180        FETCH_DIM_R                                      ~106    !1, 'count'
        181        DIV                                              ~107    ~106, !0
        182        MUL                                              ~108    ~107, 100
        183        ASSIGN                                                   !11, ~108
   91   184        FETCH_DIM_R                                      ~110    !2, 'count'
        185        DIV                                              ~111    ~110, !0
        186        MUL                                              ~112    ~111, 100
        187        ASSIGN                                                   !12, ~112
   93   188        INIT_FCALL                                               'round'
        189        FETCH_DIM_R                                      ~114    !1, 'To+Mom'
        190        FETCH_DIM_R                                      ~115    !1, 'count'
        191        DIV                                              ~116    ~114, ~115
        192        MUL                                              ~117    ~116, 100
        193        SEND_VAL                                                 ~117
        194        SEND_VAR                                                 !10
        195        DO_ICALL                                         $118    
        196        ASSIGN                                                   !13, $118
   94   197        INIT_FCALL                                               'round'
        198        FETCH_DIM_R                                      ~120    !1, 'To+Dad'
        199        FETCH_DIM_R                                      ~121    !1, 'count'
        200        DIV                                              ~122    ~120, ~121
        201        MUL                                              ~123    ~122, 100
        202        SEND_VAL                                                 ~123
        203        SEND_VAR                                                 !10
        204        DO_ICALL                                         $124    
        205        ASSIGN                                                   !14, $124
   95   206        INIT_FCALL                                               'round'
        207        FETCH_DIM_R                                      ~126    !1, 'Joint'
        208        FETCH_DIM_R                                      ~127    !1, 'count'
        209        DIV                                              ~128    ~126, ~127
        210        MUL                                              ~129    ~128, 100
        211        SEND_VAL                                                 ~129
        212        SEND_VAR                                                 !10
        213        DO_ICALL                                         $130    
        214        ASSIGN                                                   !15, $130
   97   215        INIT_FCALL                                               'round'
        216        FETCH_DIM_R                                      ~132    !2, 'Sole+Fight'
        217        FETCH_DIM_R                                      ~133    !2, 'count'
        218        DIV                                              ~134    ~132, ~133
        219        MUL                                              ~135    ~134, 100
        220        SEND_VAL                                                 ~135
        221        SEND_VAR                                                 !10
        222        DO_ICALL                                         $136    
        223        ASSIGN                                                   !16, $136
   98   224        INIT_FCALL                                               'round'
        225        FETCH_DIM_R                                      ~138    !2, 'FsMj'
        226        FETCH_DIM_R                                      ~139    !2, 'count'
        227        DIV                                              ~140    ~138, ~139
        228        MUL                                              ~141    ~140, 100
        229        SEND_VAL                                                 ~141
        230        SEND_VAR                                                 !10
        231        DO_ICALL                                         $142    
        232        ASSIGN                                                   !17, $142
   99   233        INIT_FCALL                                               'round'
        234        FETCH_DIM_R                                      ~144    !2, 'MsFj'
        235        FETCH_DIM_R                                      ~145    !2, 'count'
        236        DIV                                              ~146    ~144, ~145
        237        MUL                                              ~147    ~146, 100
        238        SEND_VAL                                                 ~147
        239        SEND_VAR                                                 !10
        240        DO_ICALL                                         $148    
        241        ASSIGN                                                   !18, $148
  100   242        INIT_FCALL                                               'round'
        243        FETCH_DIM_R                                      ~150    !2, 'MfFm'
        244        FETCH_DIM_R                                      ~151    !2, 'count'
        245        DIV                                              ~152    ~150, ~151
        246        MUL                                              ~153    ~152, 100
        247        SEND_VAL                                                 ~153
        248        SEND_VAR                                                 !10
        249        DO_ICALL                                         $154    
        250        ASSIGN                                                   !19, $154
  101   251        INIT_FCALL                                               'round'
        252        FETCH_DIM_R                                      ~156    !2, 'other'
        253        FETCH_DIM_R                                      ~157    !2, 'count'
        254        DIV                                              ~158    ~156, ~157
        255        MUL                                              ~159    ~158, 100
        256        SEND_VAL                                                 ~159
        257        SEND_VAR                                                 !10
        258        DO_ICALL                                         $160    
        259        ASSIGN                                                   !20, $160
  103   260        INIT_FCALL                                               'round'
        261        FETCH_DIM_R                                      ~162    !2, 'count'
        262        DIV                                              ~163    !3, ~162
        263        MUL                                              ~164    ~163, 100
        264        SEND_VAL                                                 ~164
        265        SEND_VAR                                                 !10
        266        DO_ICALL                                         $165    
        267        ASSIGN                                                   !21, $165
  104   268        INIT_FCALL                                               'round'
        269        FETCH_DIM_R                                      ~167    !2, 'count'
        270        DIV                                              ~168    !4, ~167
        271        MUL                                              ~169    ~168, 100
        272        SEND_VAL                                                 ~169
        273        SEND_VAR                                                 !10
        274        DO_ICALL                                         $170    
        275        ASSIGN                                                   !22, $170
  107   276        ROPE_INIT                                     7  ~173    'From+'
        277        ROPE_ADD                                      1  ~173    ~173, !0
        278        ROPE_ADD                                      2  ~173    ~173, '+runs+there+were+'
        279        ROPE_ADD                                      3  ~173    ~173, !11
        280        ROPE_ADD                                      4  ~173    ~173, '%25+agreements+and+'
        281        ROPE_ADD                                      5  ~173    ~173, !12
        282        ROPE_END                                      6  ~172    ~173, '%25+disagreements.'
        283        ECHO                                                     ~172
  108   284        ROPE_INIT                                     7  ~178    'From+the+agreements+%3Cul%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E'
  109   285        ROPE_ADD                                      1  ~178    ~178, !13
        286        ROPE_ADD                                      2  ~178    ~178, '%25+go+to+Mom%3C%2Fli%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E'
  110   287        ROPE_ADD                                      3  ~178    ~178, !14
        288        ROPE_ADD                                      4  ~178    ~178, '%25+go+to+Dad%3C%2Fli%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E'
  111   289        ROPE_ADD                                      5  ~178    ~178, !15
        290        ROPE_END                                      6  ~177    ~178, '%25+joint+custody%3C%2Fli%3E%0A++++++++++++++++++++++++++++++%3C%2Ful%3E'
        291        ECHO                                                     ~177
  114   292        ROPE_INIT                                    15  ~183    'From+the+disagreements+%3Cul%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E+'
  115   293        ROPE_ADD                                      1  ~183    ~183, !22
        294        ROPE_ADD                                      2  ~183    ~183, '%25+of+Mom%27s+want+sole+custody%3C%2Fli%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E+'
  116   295        ROPE_ADD                                      3  ~183    ~183, !21
        296        ROPE_ADD                                      4  ~183    ~183, '%25+of+Dad%27s+want+sole+custody%3C%2Fli%3E%0A++++++++++++++++++++++++++++++++++++%3Cbr%3E%3Cbr%3E%0A++++++++++++++++++++++++++++++++++++%3Cli%3E'
  118   297        ROPE_ADD                             

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.01 ms | 1433 KiB | 17 Q