3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->set('lang', $this->i18n->getLocale()); $projectsToDelete = $totalProjects - $allowedProjects; $lang = $this->get('lang'); ?> <div id="projects-to-delete" class="reports-list"> <div class="user-project-list"> <div class="reports-list-title-container"> <h2 class="reports-list-title"><?= $this->i18n->_('overview_title_delete_projects')?></h2> <span class="label label-primary reports-list-remaining pull-right"> <?= $this->i18n->_( 'overview_delete_projects_counter', '', "<span class='js-to-delete'>$projectsToDelete</span>" );?> </span> </div> <? foreach ($pdata as $project) : $id = $project['id']; $reportId = $project['reportId']; $domain = $project['url']; $ok = isset($project['doneTasks']) ? $project['doneTasks'] : 0; $total = isset($project['totalTasks']) ? $project['totalTasks'] : 0; $score = round($project['score']); $date = $project['reportEnded']; ?> <div class="project-item" id="project-delete-<?= $id ?>"> <div class="entry"> <div class="row"> <div class="col-xs-1 dropdown options-container"> <button data-target="#delete-pj-modal" data-toggle="modal" data-origin="#project-<?= $id ?>,#project-delete-<?=$id?>" data-ajax="1" for="/<?= $lang ?>/unstar/<?= $id ?>/<?= $domain ?>" class="btn btn-circle btn-default delete-project"> <svg class="icon icon-minus fill-grey"> <use xlink:href="#minus"></use> </svg> </button> </div> <div class="col-xs-11 col-sm-7 score-container"> <span class="domain domain-without-score"><?= $domain ?></span> <span class="date date-without-score js-format-time" data-datetime="<?= $date ?>"></span> </div> </div> </div> </div> <?php endforeach; ?> </div> </div>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 37, Position 2 = 83
Branch analysis from position: 37
2 jumps found. (Code = 78) Position 1 = 38, Position 2 = 83
Branch analysis from position: 38
2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 49
Branch analysis from position: 46
1 jumps found. (Code = 42) Position 1 = 50
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 56
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 57
Branch analysis from position: 57
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
Branch analysis from position: 56
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
Branch analysis from position: 49
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 56
Branch analysis from position: 53
Branch analysis from position: 56
Branch analysis from position: 83
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 83
filename:       /in/EFge2
function name:  (null)
number of ops:  86
compiled vars:  !0 = $projectsToDelete, !1 = $totalProjects, !2 = $allowedProjects, !3 = $lang, !4 = $pdata, !5 = $project, !6 = $id, !7 = $reportId, !8 = $domain, !9 = $ok, !10 = $total, !11 = $score, !12 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $13     
          1        INIT_METHOD_CALL                                         $13, 'set'
          2        SEND_VAL_EX                                              'lang'
          3        FETCH_THIS                                       $14     
          4        FETCH_OBJ_R                                      ~15     $14, 'i18n'
          5        INIT_METHOD_CALL                                         ~15, 'getLocale'
          6        DO_FCALL                                      0  $16     
          7        SEND_VAR_NO_REF_EX                                       $16
          8        DO_FCALL                                      0          
    3     9        SUB                                              ~18     !1, !2
         10        ASSIGN                                                   !0, ~18
    4    11        FETCH_THIS                                       $20     
         12        INIT_METHOD_CALL                                         $20, 'get'
         13        SEND_VAL_EX                                              'lang'
         14        DO_FCALL                                      0  $21     
         15        ASSIGN                                                   !3, $21
    6    16        ECHO                                                     '%3Cdiv+id%3D%22projects-to-delete%22+class%3D%22reports-list%22%3E%0A++++%3Cdiv+class%3D%22user-project-list%22%3E%0A%0A++++++++%3Cdiv+class%3D%22reports-list-title-container%22%3E%0A++++++++++++%3Ch2+class%3D%22reports-list-title%22%3E'
   10    17        FETCH_THIS                                       $23     
         18        FETCH_OBJ_R                                      ~24     $23, 'i18n'
         19        INIT_METHOD_CALL                                         ~24, '_'
         20        SEND_VAL_EX                                              'overview_title_delete_projects'
         21        DO_FCALL                                      0  $25     
         22        ECHO                                                     $25
         23        ECHO                                                     '%3C%2Fh2%3E%0A%0A++++++++++++%3Cspan+class%3D%22label+label-primary+reports-list-remaining+pull-right%22%3E%0A++++++++++++++++'
   13    24        FETCH_THIS                                       $26     
         25        FETCH_OBJ_R                                      ~27     $26, 'i18n'
         26        INIT_METHOD_CALL                                         ~27, '_'
   14    27        SEND_VAL_EX                                              'overview_delete_projects_counter'
   15    28        SEND_VAL_EX                                              ''
   16    29        ROPE_INIT                                     3  ~29     '%3Cspan+class%3D%27js-to-delete%27%3E'
         30        ROPE_ADD                                      1  ~29     ~29, !0
         31        ROPE_END                                      2  ~28     ~29, '%3C%2Fspan%3E'
         32        SEND_VAL_EX                                              ~28
         33        DO_FCALL                                      0  $31     
         34        ECHO                                                     $31
   18    35        ECHO                                                     '++++++++++++%3C%2Fspan%3E%0A++++++++%3C%2Fdiv%3E%0A%0A++++'
   22    36      > FE_RESET_R                                       $32     !4, ->83
         37    > > FE_FETCH_R                                               $32, !5, ->83
   23    38    >   FETCH_DIM_R                                      ~33     !5, 'id'
         39        ASSIGN                                                   !6, ~33
   24    40        FETCH_DIM_R                                      ~35     !5, 'reportId'
         41        ASSIGN                                                   !7, ~35
   25    42        FETCH_DIM_R                                      ~37     !5, 'url'
         43        ASSIGN                                                   !8, ~37
   26    44        ISSET_ISEMPTY_DIM_OBJ                         0          !5, 'doneTasks'
         45      > JMPZ                                                     ~39, ->49
         46    >   FETCH_DIM_R                                      ~40     !5, 'doneTasks'
         47        QM_ASSIGN                                        ~41     ~40
         48      > JMP                                                      ->50
         49    >   QM_ASSIGN                                        ~41     0
         50    >   ASSIGN                                                   !9, ~41
   27    51        ISSET_ISEMPTY_DIM_OBJ                         0          !5, 'totalTasks'
         52      > JMPZ                                                     ~43, ->56
         53    >   FETCH_DIM_R                                      ~44     !5, 'totalTasks'
         54        QM_ASSIGN                                        ~45     ~44
         55      > JMP                                                      ->57
         56    >   QM_ASSIGN                                        ~45     0
         57    >   ASSIGN                                                   !10, ~45
   28    58        INIT_FCALL                                               'round'
         59        FETCH_DIM_R                                      ~47     !5, 'score'
         60        SEND_VAL                                                 ~47
         61        DO_ICALL                                         $48     
         62        ASSIGN                                                   !11, $48
   29    63        FETCH_DIM_R                                      ~50     !5, 'reportEnded'
         64        ASSIGN                                                   !12, ~50
   31    65        ECHO                                                     '++++%3Cdiv+class%3D%22project-item%22+id%3D%22project-delete-'
         66        ECHO                                                     !6
         67        ECHO                                                     '%22%3E%0A++++++++%3Cdiv+class%3D%22entry%22%3E%0A++++++++++++%3Cdiv+class%3D%22row%22%3E%0A++++++++++++++++%3Cdiv+class%3D%22col-xs-1+dropdown+options-container%22%3E%0A++++++++++++++++++++%3Cbutton%0A++++++++++++++++++++++++data-target%3D%22%23delete-pj-modal%22%0A++++++++++++++++++++++++data-toggle%3D%22modal%22%0A++++++++++++++++++++++++data-origin%3D%22%23project-'
   38    68        ECHO                                                     !6
         69        ECHO                                                     '%2C%23project-delete-'
         70        ECHO                                                     !6
         71        ECHO                                                     '%22%0A++++++++++++++++++++++++data-ajax%3D%221%22%0A++++++++++++++++++++++++for%3D%22%2F'
   40    72        ECHO                                                     !3
         73        ECHO                                                     '%2Funstar%2F'
         74        ECHO                                                     !6
         75        ECHO                                                     '%2F'
         76        ECHO                                                     !8
         77        ECHO                                                     '%22%0A++++++++++++++++++++++++class%3D%22btn+btn-circle+btn-default+delete-project%22%3E%0A++++++++++++++++++++++++++%3Csvg+class%3D%22icon+icon-minus+fill-grey%22%3E%0A++++++++++++++++++++++++++++%3Cuse+xlink%3Ahref%3D%22%23minus%22%3E%3C%2Fuse%3E%0A++++++++++++++++++++++++++%3C%2Fsvg%3E%0A++++++++++++++++++++%3C%2Fbutton%3E%0A++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++%3Cdiv+class%3D%22col-xs-11+col-sm-7+score-container%22%3E%0A++++++++++++++++++++%3Cspan+class%3D%22domain+domain-without-score%22%3E'
   49    78        ECHO                                                     !8
         79        ECHO                                                     '%3C%2Fspan%3E%0A++++++++++++++++++++%3Cspan+class%3D%22date+date-without-score+js-format-time%22+data-datetime%3D%22'
   50    80        ECHO                                                     !12
         81        ECHO                                                     '%22%3E%3C%2Fspan%3E%0A++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++%3C%2Fdiv%3E%0A++++++++%3C%2Fdiv%3E%0A++++%3C%2Fdiv%3E%0A%0A++++'
   22    82      > JMP                                                      ->37
         83    >   FE_FREE                                                  $32
   59    84        ECHO                                                     '++++%3C%2Fdiv%3E%0A%3C%2Fdiv%3E'
   60    85      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.03 ms | 1409 KiB | 15 Q