3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category design * @package default_iphone * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ ?> <?php echo $this->getChildHtml('items_before'); ?> <div id="checkout-review-table-wrapper"> <table class="data-table cart-table-items" id="checkout-review-table"> <?php echo $this->getChildHtml('totals'); ?> <thead> <tr> <th><?php echo $this->__('Product Name') ?></th> <th class="a-right"><?php echo $this->__('Subtotal') ?></th> </tr> </thead> <?php foreach($this->getItems() as $_item): ?> <?php echo $this->getItemHtml($_item)?> <?php endforeach ?> </table> </div> <?php echo $this->getChildHtml('items_after'); ?> <script type="text/javascript"> //<![CDATA[ truncateOptions(); //]]> </script> <div id="checkout-review-submit"> <?php echo $this->getChildHtml('agreements') ?> <div class="buttons-set" id="review-buttons-container"> <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p> <?php echo $this->getChildHtml('button') ?> <span class="please-wait" id="review-please-wait" style="display:none;"> <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?> </span> </div> <script type="text/javascript"> //<![CDATA[ review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements')); //]]> </script> </div>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 28, Position 2 = 37
Branch analysis from position: 28
2 jumps found. (Code = 78) Position 1 = 29, Position 2 = 37
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
filename:       /in/8UCor
function name:  (null)
number of ops:  119
compiled vars:  !0 = $_item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   27     0  E >   FETCH_THIS                                       $1      
          1        INIT_METHOD_CALL                                         $1, 'getChildHtml'
          2        SEND_VAL_EX                                              'items_before'
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
   28     5        ECHO                                                     '%3Cdiv+id%3D%22checkout-review-table-wrapper%22%3E%0A++++%3Ctable+class%3D%22data-table+cart-table-items%22+id%3D%22checkout-review-table%22%3E%0A++++++++'
   30     6        FETCH_THIS                                       $3      
          7        INIT_METHOD_CALL                                         $3, 'getChildHtml'
          8        SEND_VAL_EX                                              'totals'
          9        DO_FCALL                                      0  $4      
         10        ECHO                                                     $4
   31    11        ECHO                                                     '++++++++%3Cthead%3E%0A++++++++++++%3Ctr%3E%0A++++++++++++++++%3Cth%3E'
   33    12        FETCH_THIS                                       $5      
         13        INIT_METHOD_CALL                                         $5, '__'
         14        SEND_VAL_EX                                              'Product+Name'
         15        DO_FCALL                                      0  $6      
         16        ECHO                                                     $6
         17        ECHO                                                     '%3C%2Fth%3E%0A++++++++++++++++%3Cth+class%3D%22a-right%22%3E'
   34    18        FETCH_THIS                                       $7      
         19        INIT_METHOD_CALL                                         $7, '__'
         20        SEND_VAL_EX                                              'Subtotal'
         21        DO_FCALL                                      0  $8      
         22        ECHO                                                     $8
         23        ECHO                                                     '%3C%2Fth%3E%0A++++++++++++%3C%2Ftr%3E%0A++++++++%3C%2Fthead%3E%0A++++++++'
   37    24        FETCH_THIS                                       $9      
         25        INIT_METHOD_CALL                                         $9, 'getItems'
         26        DO_FCALL                                      0  $10     
         27      > FE_RESET_R                                       $11     $10, ->37
         28    > > FE_FETCH_R                                               $11, !0, ->37
   38    29    >   ECHO                                                     '++++++++++++'
         30        FETCH_THIS                                       $12     
         31        INIT_METHOD_CALL                                         $12, 'getItemHtml'
         32        SEND_VAR_EX                                              !0
         33        DO_FCALL                                      0  $13     
         34        ECHO                                                     $13
   39    35        ECHO                                                     '++++++++'
   37    36      > JMP                                                      ->28
         37    >   FE_FREE                                                  $11
   40    38        ECHO                                                     '++++%3C%2Ftable%3E%0A%3C%2Fdiv%3E%0A'
   42    39        FETCH_THIS                                       $14     
         40        INIT_METHOD_CALL                                         $14, 'getChildHtml'
         41        SEND_VAL_EX                                              'items_after'
         42        DO_FCALL                                      0  $15     
         43        ECHO                                                     $15
   43    44        ECHO                                                     '%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A%2F%2F%3C%21%5BCDATA%5B%0A++++truncateOptions%28%29%3B%0A%2F%2F%5D%5D%3E%0A%3C%2Fscript%3E%0A%3Cdiv+id%3D%22checkout-review-submit%22%3E%0A++++'
   49    45        FETCH_THIS                                       $16     
         46        INIT_METHOD_CALL                                         $16, 'getChildHtml'
         47        SEND_VAL_EX                                              'agreements'
         48        DO_FCALL                                      0  $17     
         49        ECHO                                                     $17
   50    50        ECHO                                                     '++++%3Cdiv+class%3D%22buttons-set%22+id%3D%22review-buttons-container%22%3E%0A++++++++%3Cp+class%3D%22f-left%22%3E'
   51    51        FETCH_THIS                                       $18     
         52        INIT_METHOD_CALL                                         $18, '__'
         53        SEND_VAL_EX                                              'Forgot+an+Item%3F'
         54        DO_FCALL                                      0  $19     
         55        ECHO                                                     $19
         56        ECHO                                                     '+%3Ca+href%3D%22'
         57        FETCH_THIS                                       $20     
         58        INIT_METHOD_CALL                                         $20, 'getUrl'
         59        SEND_VAL_EX                                              'checkout%2Fcart'
         60        DO_FCALL                                      0  $21     
         61        ECHO                                                     $21
         62        ECHO                                                     '%22%3E'
         63        FETCH_THIS                                       $22     
         64        INIT_METHOD_CALL                                         $22, '__'
         65        SEND_VAL_EX                                              'Edit+Your+Cart'
         66        DO_FCALL                                      0  $23     
         67        ECHO                                                     $23
         68        ECHO                                                     '%3C%2Fa%3E%3C%2Fp%3E%0A++++++++'
   52    69        FETCH_THIS                                       $24     
         70        INIT_METHOD_CALL                                         $24, 'getChildHtml'
         71        SEND_VAL_EX                                              'button'
         72        DO_FCALL                                      0  $25     
         73        ECHO                                                     $25
   53    74        ECHO                                                     '++++++++%3Cspan+class%3D%22please-wait%22+id%3D%22review-please-wait%22+style%3D%22display%3Anone%3B%22%3E%0A++++++++++++%3Cimg+src%3D%22'
   54    75        FETCH_THIS                                       $26     
         76        INIT_METHOD_CALL                                         $26, 'getSkinUrl'
         77        SEND_VAL_EX                                              'images%2Fopc-ajax-loader.gif'
         78        DO_FCALL                                      0  $27     
         79        ECHO                                                     $27
         80        ECHO                                                     '%22+alt%3D%22'
         81        FETCH_THIS                                       $28     
         82        INIT_METHOD_CALL                                         $28, '__'
         83        SEND_VAL_EX                                              'Submitting+order+information...'
         84        DO_FCALL                                      0  $29     
         85        ECHO                                                     $29
         86        ECHO                                                     '%22+title%3D%22'
         87        FETCH_THIS                                       $30     
         88        INIT_METHOD_CALL                                         $30, '__'
         89        SEND_VAL_EX                                              'Submitting+order+information...'
         90        DO_FCALL                                      0  $31     
         91        ECHO                                                     $31
         92        ECHO                                                     '%22+class%3D%22v-middle%22+%2F%3E+'
         93        FETCH_THIS                                       $32     
         94        INIT_METHOD_CALL                                         $32, '__'
         95        SEND_VAL_EX                                              'Submitting+order+information...'
         96        DO_FCALL                                      0  $33     
         97        ECHO                                                     $33
   55    98        ECHO                                                     '++++++++%3C%2Fspan%3E%0A++++%3C%2Fdiv%3E%0A++++%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A++++%2F%2F%3C%21%5BCDATA%5B%0A++++++++review+%3D+new+Review%28%27'
   59    99        FETCH_THIS                                       $34     
        100        INIT_METHOD_CALL                                         $34, 'getUrl'
        101        SEND_VAL_EX                                              'checkout%2Fonepage%2FsaveOrder'
        102        INIT_STATIC_METHOD_CALL                                  'Mage', 'getSingleton'
        103        SEND_VAL_EX                                              'core%2Fsession'
        104        DO_FCALL                                      0  $35     
        105        INIT_METHOD_CALL                                         $35, 'getFormKey'
        106        DO_FCALL                                      0  $36     
        107        INIT_ARRAY                                       ~37     $36, 'form_key'
        108        SEND_VAL_EX                                              ~37
        109        DO_FCALL                                      0  $38     
        110        ECHO                                                     $38
        111        ECHO                                                     '%27%2C+%27'
        112        FETCH_THIS                                       $39     
        113        INIT_METHOD_CALL                                         $39, 'getUrl'
        114        SEND_VAL_EX                                              'checkout%2Fonepage%2Fsuccess'
        115        DO_FCALL                                      0  $40     
        116        ECHO                                                     $40
        117        ECHO                                                     '%27%2C+%24%28%27checkout-agreements%27%29%29%3B%0A++++%2F%2F%5D%5D%3E%0A++++%3C%2Fscript%3E%0A%3C%2Fdiv%3E'
   62   118      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.18 ms | 1403 KiB | 13 Q