3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a=[ [ [ 'EmpId'=>1068, 'Name'=>'SATHIYA MOORTHI', 'Is thisuseful ?'=>'Yes', 'what did you learn from this?'=>'' ] ], [ [ 'EmpId'=>5000, 'Name'=>'Ben Praveen', 'Is thisuseful ?'=>'Yes', 'what did you learn from this?'=>'' ] ] ]; echo "<table border=\"1\" cellpadding=\"4px\" style=\"white-space:nowrap;\">\n"; echo "\t<tr>\n\t\t<th>",implode('</th><th>',array_keys(current(current($a)))),"</th>\n\t</tr>\n"; foreach($a as $surveyreports){ foreach($surveyreports as $rows){ echo "\t<tr>\n\t\t<td>",implode('</td><td>',$rows),"</td>\n\t</tr>\n"; } } echo "<table>";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 26
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 26
Branch analysis from position: 17
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 24
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 24
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/XpivS
function name:  (null)
number of ops:  29
compiled vars:  !0 = $a, !1 = $surveyreports, !2 = $rows
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
   21     1        ECHO                                                         '%3Ctable+border%3D%221%22+cellpadding%3D%224px%22+style%3D%22white-space%3Anowrap%3B%22%3E%0A'
   22     2        ECHO                                                         '%09%3Ctr%3E%0A%09%09%3Cth%3E'
          3        INIT_FCALL                                                   'array_keys'
          4        INIT_FCALL                                                   'current'
          5        INIT_FCALL                                                   'current'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        DO_ICALL                                             $5      
         10        SEND_VAR                                                     $5
         11        DO_ICALL                                             $6      
         12        FRAMELESS_ICALL_2                implode             ~7      '%3C%2Fth%3E%3Cth%3E', $6
         13        ECHO                                                         ~7
         14        ECHO                                                         '%3C%2Fth%3E%0A%09%3C%2Ftr%3E%0A'
   23    15      > FE_RESET_R                                           $8      !0, ->26
         16    > > FE_FETCH_R                                                   $8, !1, ->26
   24    17    > > FE_RESET_R                                           $9      !1, ->24
         18    > > FE_FETCH_R                                                   $9, !2, ->24
   25    19    >   ECHO                                                         '%09%3Ctr%3E%0A%09%09%3Ctd%3E'
         20        FRAMELESS_ICALL_2                implode             ~10     '%3C%2Ftd%3E%3Ctd%3E', !2
         21        ECHO                                                         ~10
         22        ECHO                                                         '%3C%2Ftd%3E%0A%09%3C%2Ftr%3E%0A'
   24    23      > JMP                                                          ->18
         24    >   FE_FREE                                                      $9
   23    25      > JMP                                                          ->16
         26    >   FE_FREE                                                      $8
   28    27        ECHO                                                         '%3Ctable%3E'
         28      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.38 ms | 2333 KiB | 15 Q