3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pdo = new PDO("sqlite::memory:"); $ppdo = clone $pdo; echo $ppdo->query("select 1")->fetchColumn();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MRCHQ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $pdo, !1 = $ppdo
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $2      :21
         1        SEND_VAL_EX                                              'sqlite%3A%3Amemory%3A'
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !0, $2
   4     4        CLONE                                            ~5      !0
         5        ASSIGN                                                   !1, ~5
   5     6        INIT_METHOD_CALL                                         !1, 'query'
         7        SEND_VAL_EX                                              'select+1'
         8        DO_FCALL                                      0  $7      
         9        INIT_METHOD_CALL                                         $7, 'fetchColumn'
        10        DO_FCALL                                      0  $8      
        11        ECHO                                                     $8
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0