3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IOIjA
function name:  (null)
number of ops:  13
compiled vars:  !0 = $content_row, !1 = $content_info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'DATE_DAMMY'
          2        SEND_VAL                                                 '1970-01-01+00%3A00%3A00'
          3        DO_ICALL                                                 
    6     4        ASSIGN                                                   !0, <array>
   27     5        INIT_FCALL_BY_NAME                                       'assort'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $4      
          8        ASSIGN                                                   !1, $4
   28     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
  101    12      > RETURN                                                   1

Function assort:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 85
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 85
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 41
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 69
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 50
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 58
Branch analysis from position: 55
1 jumps found. (Code = 42) Position 1 = 68
Branch analysis from position: 68
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 58
2 jumps found. (Code = 43) Position 1 = 61, Position 2 = 63
Branch analysis from position: 61
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 63
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 82
Branch analysis from position: 74
2 jumps found. (Code = 43) Position 1 = 76, Position 2 = 78
Branch analysis from position: 76
1 jumps found. (Code = 42) Position 1 = 79
Branch analysis from position: 79
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 78
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
Branch analysis from position: 82
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 85
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 85
filename:       /in/IOIjA
function name:  assort
number of ops:  88
compiled vars:  !0 = $content_row, !1 = $content_info, !2 = $v, !3 = $k, !4 = $key, !5 = $date_latest
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   29     0  E >   RECV                                             !0      
   30     1        ASSIGN                                                   !1, <array>
   31     2      > FE_RESET_R                                       $7      !0, ->85
          3    > > FE_FETCH_R                                       ~8      $7, !2, ->85
          4    >   ASSIGN                                                   !3, ~8
   34     5        INIT_FCALL_BY_NAME                                       'str_exist'
          6        SEND_VAR_EX                                              !3
          7        SEND_VAL_EX                                              'parent'
          8        DO_FCALL                                      0  $10     
          9      > JMPZ                                                     $10, ->20
   35    10    >   INIT_FCALL                                               'str_replace'
         11        SEND_VAL                                                 'parent_'
         12        SEND_VAL                                                 ''
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                         $11     
         15        ASSIGN                                                   !4, $11
   36    16        FETCH_DIM_W                                      $13     !1, 'parent_info'
         17        ASSIGN_DIM                                               $13, !4
         18        OP_DATA                                                  !2
   34    19      > JMP                                                      ->84
   40    20    >   INIT_FCALL_BY_NAME                                       'str_exist'
         21        SEND_VAR_EX                                              !3
         22        SEND_VAL_EX                                              'author'
         23        DO_FCALL                                      0  $15     
         24      > JMPZ                                                     $15, ->41
   41    25    >   INIT_FCALL                                               'str_replace'
         26        SEND_VAL                                                 'author_'
         27        SEND_VAL                                                 ''
         28        SEND_VAR                                                 !3
         29        DO_ICALL                                         $16     
         30        ASSIGN                                                   !4, $16
   42    31        FETCH_DIM_W                                      $18     !1, 'author_info'
         32        ASSIGN_DIM                                               $18, !4
         33        OP_DATA                                                  !2
   43    34        FETCH_DIM_W                                      $20     !1, 'author_info'
         35        ASSIGN_DIM                                               $20, 'service_name'
         36        OP_DATA                                                  'mysite'
   44    37        FETCH_DIM_W                                      $22     !1, 'author_info'
         38        ASSIGN_DIM                                               $22, 'kind'
         39        OP_DATA                                                  'user'
   40    40      > JMP                                                      ->84
   51    41    >   INIT_FCALL_BY_NAME                                       'str_exist'
         42        SEND_VAR_EX                                              !3
         43        SEND_VAL_EX                                              'date'
         44        DO_FCALL                                      0  $24     
         45      > JMPZ                                                     $24, ->69
   54    46    >   FETCH_CONSTANT                                   ~25     'DATE_DAMMY'
         47        IS_EQUAL                                                 !2, ~25
         48      > JMPZ                                                     ~26, ->50
         49    > > JMP                                                      ->3
   57    50    >   ASSIGN_DIM                                               !1, !3
         51        OP_DATA                                                  !2
   60    52        ISSET_ISEMPTY_DIM_OBJ                         0  ~28     !1, 'date_latest'
         53        BOOL_NOT                                         ~29     ~28
         54      > JMPZ                                                     ~29, ->58
   63    55    >   ASSIGN_DIM                                               !1, 'date_latest'
         56        OP_DATA                                                  !2
   60    57      > JMP                                                      ->68
   68    58    >   FETCH_DIM_R                                      ~31     !1, 'date_latest'
         59        IS_SMALLER                                               ~31, !2
         60      > JMPZ                                                     ~32, ->63
         61    >   QM_ASSIGN                                        ~33     !2
         62      > JMP                                                      ->65
         63    >   FETCH_DIM_R                                      ~34     !1, 'date_latest'
         64        QM_ASSIGN                                        ~33     ~34
         65    >   ASSIGN                                                   !5, ~33
   69    66        ASSIGN_DIM                                               !1, 'date_latest'
         67        OP_DATA                                                  !5
   51    68    > > JMP                                                      ->84
   73    69    >   INIT_FCALL_BY_NAME                                       'str_exist'
         70        SEND_VAR_EX                                              !3
         71        SEND_VAL_EX                                              'is_'
         72        DO_FCALL                                      0  $37     
         73      > JMPZ                                                     $37, ->82
   74    74    >   IS_EQUAL                                                 !2, 1
         75      > JMPZ                                                     ~39, ->78
         76    >   QM_ASSIGN                                        ~40     <true>
         77      > JMP                                                      ->79
         78    >   QM_ASSIGN                                        ~40     <false>
         79    >   ASSIGN_DIM                                               !1, !3
         80        OP_DATA                                                  ~40
   73    81      > JMP                                                      ->84
   79    82    >   ASSIGN_DIM                                               !1, !3
         83        OP_DATA                                                  !2
   31    84    > > JMP                                                      ->3
         85    >   FE_FREE                                                  $7
   83    86      > RETURN                                                   !1
   84    87*     > RETURN                                                   null

End of function assort

Function str_exist:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 20
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 27
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 20
Branch analysis from position: 7
filename:       /in/IOIjA
function name:  str_exist
number of ops:  29
compiled vars:  !0 = $target, !1 = $str, !2 = $is
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   87     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   88     2        ASSIGN                                                   !2, <false>
   91     3        TYPE_CHECK                                  128  ~4      !0
          4      > JMPNZ_EX                                         ~4      ~4, ->7
          5    >   TYPE_CHECK                                  128  ~5      !1
          6        BOOL                                             ~4      ~5
          7    > > JMPZ                                                     ~4, ->20
   92     8    >   INIT_FCALL                                               'error_log'
          9        INIT_FCALL                                               'json_encode'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      'str_exist%28%29+%3A+%24target+-+%24str+%3A+', $6
         13        CONCAT                                           ~8      ~7, '+-+'
         14        INIT_FCALL                                               'json_encode'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $9      
         17        CONCAT                                           ~10     ~8, $9
         18        SEND_VAL                                                 ~10
         19        DO_ICALL                                                 
   96    20    >   INIT_FCALL                                               'strpos'
         21        SEND_VAR                                                 !0
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $12     
         24        TYPE_CHECK                                  1018          $12
         25      > JMPZ                                                     ~13, ->27
   97    26    >   ASSIGN                                                   !2, <true>
  100    27    > > RETURN                                                   !2
  101    28*     > RETURN                                                   null

End of function str_exist

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.31 ms | 985 KiB | 19 Q