3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'myuser'; $password = 'mypass'; new PDO('mysql:dbname=testdb;host=255.255.255.255', $username, $password);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XhVu0
function name:  (null)
number of ops:  9
compiled vars:  !0 = $username, !1 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'myuser'
          1        ASSIGN                                                   !1, 'mypass'
    3     2        NEW                                              $4      'PDO'
          3        SEND_VAL_EX                                              'mysql%3Adbname%3Dtestdb%3Bhost%3D255.255.255.255'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0          
          7        FREE                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.1 ms | 1397 KiB | 13 Q