3v4l.org

run code in 300+ PHP versions simultaneously
[code]<?php require_once('config.php'); $cerereSQL = 'SELECT * FROM news WHERE id="1" '; $rezultat = mysql_query($cerereSQL); while($rand = mysql_fetch_array($rezultat)) { echo $rand['nume'].' <br> '.$rand['data'].' <br> '.$rand['continut'].' <br>'; } ?>[/code]
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 8
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 8
Branch analysis from position: 22
Branch analysis from position: 8
filename:       /in/XNHcn
function name:  (null)
number of ops:  24
compiled vars:  !0 = $cerereSQL, !1 = $rezultat, !2 = $rand
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%5Bcode%5D'
    2     1        INCLUDE_OR_EVAL                                          'config.php', REQUIRE_ONCE
    3     2        ASSIGN                                                   !0, 'SELECT+%2A+FROM+news+WHERE+id%3D%221%22+'
    4     3        INIT_FCALL_BY_NAME                                       'mysql_query'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $5      
          6        ASSIGN                                                   !1, $5
    6     7      > JMP                                                      ->17
    8     8    >   FETCH_DIM_R                                      ~7      !2, 'nume'
          9        CONCAT                                           ~8      ~7, '+%3Cbr%3E+'
         10        FETCH_DIM_R                                      ~9      !2, 'data'
         11        CONCAT                                           ~10     ~8, ~9
         12        CONCAT                                           ~11     ~10, '+%3Cbr%3E+'
         13        FETCH_DIM_R                                      ~12     !2, 'continut'
         14        CONCAT                                           ~13     ~11, ~12
         15        CONCAT                                           ~14     ~13, '+%3Cbr%3E'
         16        ECHO                                                     ~14
    6    17    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         18        SEND_VAR_EX                                              !1
         19        DO_FCALL                                      0  $15     
         20        ASSIGN                                           ~16     !2, $15
         21      > JMPNZ                                                    ~16, ->8
   10    22    >   ECHO                                                     '%5B%2Fcode%5D'
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.09 ms | 1385 KiB | 13 Q