3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $db = new PDO('mysql:host=localhostes;dbname=testdb;charset=utf8', 'root', '', array(PDO::ATTR_EMULATE_PREPARES => false, //PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tBN04
function name:  (null)
number of ops:  11
compiled vars:  !0 = $db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        NEW                                              $2      'PDO'
          4        SEND_VAL_EX                                              'mysql%3Ahost%3Dlocalhostes%3Bdbname%3Dtestdb%3Bcharset%3Dutf8'
          5        SEND_VAL_EX                                              'root'
          6        SEND_VAL_EX                                              ''
          7        SEND_VAL_EX                                              <array>
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !0, $2
    5    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.4 ms | 1394 KiB | 15 Q