3v4l.org

run code in 300+ PHP versions simultaneously
<?php $con = mysqli_connect("localhost","root","",'oefening');// Check connectionif (mysqli_connect_errno()) {  echo "Failed to connect to MySQL: " . mysqli_connect_error();  exit();if(mysqli_query($con,"INSERT INTO persons (voornaam , achternaam , leeftijd)            VALUES ('Peter', 'Griffin','35')")){    echo "De query is gelukt!";    } else {    echo "Please check your query and try again. The error is:" .mysqli_error($con);    }mysqli_close($con);?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ARADp
function name:  (null)
number of ops:  8
compiled vars:  !0 = $con
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL_BY_NAME                                       'mysqli_connect'
          1        SEND_VAL_EX                                              'localhost'
          2        SEND_VAL_EX                                              'root'
          3        SEND_VAL_EX                                              ''
          4        SEND_VAL_EX                                              'oefening'
          5        DO_FCALL                                      0  $1      
          6        ASSIGN                                                   !0, $1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.79 ms | 1392 KiB | 13 Q