3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = 'root'; $password = 'root'; $db = 'Test_DB'; $host = 'localhost'; $port = 8889; $link = mysqli_init(); $success = mysqli_real_connect( $link, $host, $user, $password, $db, $port ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iprmN
function name:  (null)
number of ops:  18
compiled vars:  !0 = $user, !1 = $password, !2 = $db, !3 = $host, !4 = $port, !5 = $link, !6 = $success
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'root'
    3     1        ASSIGN                                                   !1, 'root'
    4     2        ASSIGN                                                   !2, 'Test_DB'
    5     3        ASSIGN                                                   !3, 'localhost'
    6     4        ASSIGN                                                   !4, 8889
    8     5        INIT_FCALL_BY_NAME                                       'mysqli_init'
          6        DO_FCALL                                      0  $12     
          7        ASSIGN                                                   !5, $12
    9     8        INIT_FCALL_BY_NAME                                       'mysqli_real_connect'
   10     9        SEND_VAR_EX                                              !5
         10        SEND_VAR_EX                                              !3
         11        SEND_VAR_EX                                              !0
         12        SEND_VAR_EX                                              !1
         13        SEND_VAR_EX                                              !2
         14        SEND_VAR_EX                                              !4
         15        DO_FCALL                                      0  $14     
    9    16        ASSIGN                                                   !6, $14
   18    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
208.96 ms | 1393 KiB | 13 Q