3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Connection { public $server, $username, $password, $db; public function a($server, $username, $password, $db){ echo $server; echo $username; echo $password; echo $db; } } $conect= new Connection("server1", "username1", "password1", "db1"); $conect->a($server, $username, $password, $db); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3aK0s
function name:  (null)
number of ops:  14
compiled vars:  !0 = $conect, !1 = $server, !2 = $username, !3 = $password, !4 = $db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $5      'Connection'
          1        SEND_VAL_EX                                              'server1'
          2        SEND_VAL_EX                                              'username1'
          3        SEND_VAL_EX                                              'password1'
          4        SEND_VAL_EX                                              'db1'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $5
   21     7        INIT_METHOD_CALL                                         !0, 'a'
          8        SEND_VAR_EX                                              !1
          9        SEND_VAR_EX                                              !2
         10        SEND_VAR_EX                                              !3
         11        SEND_VAR_EX                                              !4
         12        DO_FCALL                                      0          
   22    13      > RETURN                                                   1

Class Connection:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3aK0s
function name:  a
number of ops:  9
compiled vars:  !0 = $server, !1 = $username, !2 = $password, !3 = $db
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   13     4        ECHO                                                     !0
   14     5        ECHO                                                     !1
   15     6        ECHO                                                     !2
   16     7        ECHO                                                     !3
   17     8      > RETURN                                                   null

End of function a

End of class Connection.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.14 ms | 1398 KiB | 13 Q