3v4l.org

run code in 300+ PHP versions simultaneously
<style> table { border-width: 1px 1px 0px 0px; border-style: solid; border-color: #777; border-spacing: 0; width: 100%; max-width: 330px; float: left; margin: 0 20px 0 0; } th { /*background-color: #eee;*/ color: #fff; background: #c60000; text-align: left; border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } td { border-width: 0px 0px 1px 1px; border-style: solid; border-color: #777; padding: 0.3em 0.3em 0.3em 1.2em; } tr:nth-child(even) { background: #fddbdb; } </style> <?php $json = file_get_contents('https://api.import.io/store/data/2bee4ac0-b3cc-41e8-8043-1aa0df768f63/_query?input/webpage/url=http%3A%2F%2Fbequick.slclubsite.nl%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D305%26Itemid%3D179&_user=9db12019-2c63-481e-bfde-83fe95dfb3d0&_apikey=9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c'); $obj = json_decode($json, TRUE); $result = array(); echo '<table><thead><th>Datum</th><th>Naam</th></thead>'; for ($i = 0; $i < count($obj['results']); $i++) { print '<tr><td>' . $obj['results'][$i]["datum_value"] . '</td><td>' . $obj['results'][$i]["naam_value"] . '</td></tr>'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 14
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 14
Branch analysis from position: 30
Branch analysis from position: 14
filename:       /in/I8JRe
function name:  (null)
number of ops:  31
compiled vars:  !0 = $json, !1 = $obj, !2 = $result, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cstyle%3E%0A++++table+%7B%0A++++++++border-width%3A+1px+1px+0px+0px%3B%0A++++++++border-style%3A+solid%3B%0A++++++++border-color%3A+%23777%3B%0A++++++++border-spacing%3A+0%3B%0A++++++++width%3A+100%25%3B%0A++++++++max-width%3A+330px%3B%0A++++++++float%3A+left%3B%0A++++++++margin%3A+0+20px+0+0%3B%0A++++%7D%0A++++th+%7B%0A++++++++%2F%2Abackground-color%3A+%23eee%3B%2A%2F%0A++++++++color%3A+%23fff%3B%0A++++++++background%3A+%23c60000%3B%0A++++++++text-align%3A+left%3B%0A++++++++border-width%3A+0px+0px+1px+1px%3B%0A++++++++border-style%3A+solid%3B%0A++++++++border-color%3A+%23777%3B%0A++++++++padding%3A+0.3em+0.3em+0.3em+1.2em%3B%0A++++%7D%0A++++td+%7B%0A++++++++border-width%3A+0px+0px+1px+1px%3B%0A++++++++border-style%3A+solid%3B%0A++++++++border-color%3A+%23777%3B%0A++++++++padding%3A+0.3em+0.3em+0.3em+1.2em%3B%0A++++%7D%0A%0A++++tr%3Anth-child%28even%29+%7B%0A++++++++background%3A+%23fddbdb%3B%0A++++%7D%0A%3C%2Fstyle%3E%0A%0A'
   36     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAL                                                 'https%3A%2F%2Fapi.import.io%2Fstore%2Fdata%2F2bee4ac0-b3cc-41e8-8043-1aa0df768f63%2F_query%3Finput%2Fwebpage%2Furl%3Dhttp%253A%252F%252Fbequick.slclubsite.nl%252Findex.php%253Foption%253Dcom_content%2526view%253Darticle%2526id%253D305%2526Itemid%253D179%26_user%3D9db12019-2c63-481e-bfde-83fe95dfb3d0%26_apikey%3D9db120192c63481ebfde83fe95dfb3d0a3825130686f82d9a67f5c0ff3fac070afe8706e3a759af5224a8376b2d66badf05041e272fff574688d31f9cfa65646ba3422bd382c0b6b10f0c033930ee05c'
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
   37     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
   38    10        ASSIGN                                                   !2, <array>
   40    11        ECHO                                                     '%3Ctable%3E%3Cthead%3E%3Cth%3EDatum%3C%2Fth%3E%3Cth%3ENaam%3C%2Fth%3E%3C%2Fthead%3E'
   41    12        ASSIGN                                                   !3, 0
         13      > JMP                                                      ->26
   42    14    >   FETCH_DIM_R                                      ~10     !1, 'results'
         15        FETCH_DIM_R                                      ~11     ~10, !3
         16        FETCH_DIM_R                                      ~12     ~11, 'datum_value'
         17        CONCAT                                           ~13     '%3Ctr%3E%3Ctd%3E', ~12
         18        CONCAT                                           ~14     ~13, '%3C%2Ftd%3E%3Ctd%3E'
         19        FETCH_DIM_R                                      ~15     !1, 'results'
         20        FETCH_DIM_R                                      ~16     ~15, !3
         21        FETCH_DIM_R                                      ~17     ~16, 'naam_value'
         22        CONCAT                                           ~18     ~14, ~17
         23        CONCAT                                           ~19     ~18, '%3C%2Ftd%3E%3C%2Ftr%3E'
         24        ECHO                                                     ~19
   41    25        PRE_INC                                                  !3
         26    >   FETCH_DIM_R                                      ~21     !1, 'results'
         27        COUNT                                            ~22     ~21
         28        IS_SMALLER                                               !3, ~22
         29      > JMPNZ                                                    ~23, ->14
   43    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.2 ms | 1400 KiB | 17 Q