3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = new PDO('sqlite:file:foo?mode=memory&cache=shared'); // add some tables and rows to foo $bar = new PDO('sqlite:file:bar?mode=memory&cache=shared'); // $bar remains totally independent $foo2 = new PDO('sqlite:file:foo?mode=memory&cache=shared'); // $foo2 contains the EXACT SAME database as $foo
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JKF0n
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo, !1 = $bar, !2 = $foo2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $3      'PDO'
          1        SEND_VAL_EX                                                  'sqlite%3Afile%3Afoo%3Fmode%3Dmemory%26cache%3Dshared'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $3
    6     4        NEW                                                  $6      'PDO'
          5        SEND_VAL_EX                                                  'sqlite%3Afile%3Abar%3Fmode%3Dmemory%26cache%3Dshared'
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !1, $6
   10     8        NEW                                                  $9      'PDO'
          9        SEND_VAL_EX                                                  'sqlite%3Afile%3Afoo%3Fmode%3Dmemory%26cache%3Dshared'
         10        DO_FCALL                                          0          
         11        ASSIGN                                                       !2, $9
   11    12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.18 ms | 1483 KiB | 13 Q