3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ /** * Environment initialization */ error_reporting(E_ALL); #ini_set('display_errors', 1); /* PHP version validation */ if (!defined('PHP_VERSION_ID') || !(PHP_VERSION_ID >= 50600 && PHP_VERSION_ID < 50700 || PHP_VERSION_ID === 70002 || PHP_VERSION_ID >= 70006)) { if (PHP_SAPI == 'cli') { echo 'Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. ' . 'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html'; } else { echo <<<HTML <div style="font:12px/1.35em arial, helvetica, sans-serif;"> <p>Magento supports PHP 5.6, 7.0.2, and 7.0.6 or later. Please read <a target="_blank" href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html"> Magento System Requirements</a>. </div> HTML; } exit(1); } require_once __DIR__ . '/autoload.php'; require_once BP . '/app/functions.php'; /* Custom umask value may be provided in optional mage_umask file in root */ $umaskFile = BP . '/magento_umask'; $mask = file_exists($umaskFile) ? octdec(file_get_contents($umaskFile)) : 002; umask($mask); if (!empty($_SERVER['MAGE_PROFILER']) && isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/html') !== false ) { \Magento\Framework\Profiler::applyConfig( $_SERVER['MAGE_PROFILER'], BP, !empty($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ); } date_default_timezone_set('UTC');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 28
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 46) Position 1 = 37, Position 2 = 40
Branch analysis from position: 37
2 jumps found. (Code = 46) Position 1 = 41, Position 2 = 49
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 50, Position 2 = 67
Branch analysis from position: 50
2 jumps found. (Code = 46) Position 1 = 61, Position 2 = 65
Branch analysis from position: 61
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 65
Branch analysis from position: 67
Branch analysis from position: 49
Branch analysis from position: 40
Branch analysis from position: 28
2 jumps found. (Code = 46) Position 1 = 37, Position 2 = 40
Branch analysis from position: 37
Branch analysis from position: 40
filename:       /in/3cql2
function name:  (null)
number of ops:  71
compiled vars:  !0 = $umaskFile, !1 = $mask
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
   14     3      > JMPZ                                                     <false>, ->9
   15     4    > > JMPZ                                                     <true>, ->7
   17     5    >   ECHO                                                     'Magento+supports+PHP+5.6%2C+7.0.2%2C+and+7.0.6+or+later.+Please+read+http%3A%2F%2Fdevdocs.magento.com%2Fguides%2Fv1.0%2Finstall-gde%2Fsystem-requirements.html'
          6      > JMP                                                      ->8
   20     7    >   ECHO                                                     '%3Cdiv+style%3D%22font%3A12px%2F1.35em+arial%2C+helvetica%2C+sans-serif%3B%22%3E%0A++++%3Cp%3EMagento+supports+PHP+5.6%2C+7.0.2%2C+and+7.0.6+or+later.+Please+read%0A++++%3Ca+target%3D%22_blank%22+href%3D%22http%3A%2F%2Fdevdocs.magento.com%2Fguides%2Fv1.0%2Finstall-gde%2Fsystem-requirements.html%22%3E%0A++++Magento+System+Requirements%3C%2Fa%3E.%0A%3C%2Fdiv%3E'
   27     8    > > EXIT                                                     1
   30     9    >   INCLUDE_OR_EVAL                                          '%2Fin%2Fautoload.php', REQUIRE_ONCE
   31    10        FETCH_CONSTANT                                   ~4      'BP'
         11        CONCAT                                           ~5      ~4, '%2Fapp%2Ffunctions.php'
         12        INCLUDE_OR_EVAL                                          ~5, REQUIRE_ONCE
   34    13        FETCH_CONSTANT                                   ~7      'BP'
         14        CONCAT                                           ~8      ~7, '%2Fmagento_umask'
         15        ASSIGN                                                   !0, ~8
   35    16        INIT_FCALL                                               'file_exists'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $10     
         19      > JMPZ                                                     $10, ->28
         20    >   INIT_FCALL                                               'octdec'
         21        INIT_FCALL                                               'file_get_contents'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $11     
         24        SEND_VAR                                                 $11
         25        DO_ICALL                                         $12     
         26        QM_ASSIGN                                        ~13     $12
         27      > JMP                                                      ->29
         28    >   QM_ASSIGN                                        ~13     2
         29    >   ASSIGN                                                   !1, ~13
   36    30        INIT_FCALL                                               'umask'
         31        SEND_VAR                                                 !1
         32        DO_ICALL                                                 
   38    33        FETCH_IS                                         ~16     '_SERVER'
         34        ISSET_ISEMPTY_DIM_OBJ                         1  ~17     ~16, 'MAGE_PROFILER'
         35        BOOL_NOT                                         ~18     ~17
         36      > JMPZ_EX                                          ~18     ~18, ->40
   39    37    >   FETCH_IS                                         ~19     '_SERVER'
         38        ISSET_ISEMPTY_DIM_OBJ                         0  ~20     ~19, 'HTTP_ACCEPT'
         39        BOOL                                             ~18     ~20
         40    > > JMPZ_EX                                          ~18     ~18, ->49
   40    41    >   INIT_FCALL                                               'strpos'
         42        FETCH_R                      global              ~21     '_SERVER'
         43        FETCH_DIM_R                                      ~22     ~21, 'HTTP_ACCEPT'
         44        SEND_VAL                                                 ~22
         45        SEND_VAL                                                 'text%2Fhtml'
         46        DO_ICALL                                         $23     
         47        TYPE_CHECK                                  1018  ~24     $23
         48        BOOL                                             ~18     ~24
         49    > > JMPZ                                                     ~18, ->67
   42    50    >   INIT_STATIC_METHOD_CALL                                  'Magento%5CFramework%5CProfiler', 'applyConfig'
         51        CHECK_FUNC_ARG                                           
   43    52        FETCH_FUNC_ARG               global              $25     '_SERVER'
         53        FETCH_DIM_FUNC_ARG                               $26     $25, 'MAGE_PROFILER'
         54        SEND_FUNC_ARG                                            $26
   44    55        FETCH_CONSTANT                                   ~27     'BP'
         56        SEND_VAL_EX                                              ~27
   45    57        FETCH_IS                                         ~28     '_SERVER'
         58        ISSET_ISEMPTY_DIM_OBJ                         1  ~29     ~28, 'HTTP_X_REQUESTED_WITH'
         59        BOOL_NOT                                         ~30     ~29
         60      > JMPZ_EX                                          ~30     ~30, ->65
         61    >   FETCH_R                      global              ~31     '_SERVER'
         62        FETCH_DIM_R                                      ~32     ~31, 'HTTP_X_REQUESTED_WITH'
         63        IS_EQUAL                                         ~33     ~32, 'XMLHttpRequest'
         64        BOOL                                             ~30     ~33
         65    >   SEND_VAL_EX                                              ~30
         66        DO_FCALL                                      0          
   49    67    >   INIT_FCALL                                               'date_default_timezone_set'
         68        SEND_VAL                                                 'UTC'
         69        DO_ICALL                                                 
         70      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.8 ms | 1404 KiB | 27 Q