3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://10.0.0.222/iptecno/posicio-global?destination=node/6"; $postData = array("name" => "roberto", "pass" => "Razorin00", "op" => "Log in", "form_id" => "user_login_block"); $elements = json_encode($postData); $handler = curl_init(); curl_setopt($handler, CURLOPT_URL, $url); curl_setopt($handler, CURLOPT_POST,true); curl_setopt($handler, CURLOPT_POSTFIELDS, $elements); curl_exec($handler); $info = curl_getinfo($handler); curl_close($handler);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ot28i
function name:  (null)
number of ops:  38
compiled vars:  !0 = $url, !1 = $postData, !2 = $elements, !3 = $handler, !4 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2F10.0.0.222%2Fiptecno%2Fposicio-global%3Fdestination%3Dnode%2F6'
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'json_encode'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !2, $7
    5     6        INIT_FCALL_BY_NAME                                       'curl_init'
          7        DO_FCALL                                      0  $9      
          8        ASSIGN                                                   !3, $9
    6     9        INIT_FCALL_BY_NAME                                       'curl_setopt'
         10        SEND_VAR_EX                                              !3
         11        FETCH_CONSTANT                                   ~11     'CURLOPT_URL'
         12        SEND_VAL_EX                                              ~11
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0          
    7    15        INIT_FCALL_BY_NAME                                       'curl_setopt'
         16        SEND_VAR_EX                                              !3
         17        FETCH_CONSTANT                                   ~13     'CURLOPT_POST'
         18        SEND_VAL_EX                                              ~13
         19        SEND_VAL_EX                                              <true>
         20        DO_FCALL                                      0          
    8    21        INIT_FCALL_BY_NAME                                       'curl_setopt'
         22        SEND_VAR_EX                                              !3
         23        FETCH_CONSTANT                                   ~15     'CURLOPT_POSTFIELDS'
         24        SEND_VAL_EX                                              ~15
         25        SEND_VAR_EX                                              !2
         26        DO_FCALL                                      0          
    9    27        INIT_FCALL_BY_NAME                                       'curl_exec'
         28        SEND_VAR_EX                                              !3
         29        DO_FCALL                                      0          
   10    30        INIT_FCALL_BY_NAME                                       'curl_getinfo'
         31        SEND_VAR_EX                                              !3
         32        DO_FCALL                                      0  $18     
         33        ASSIGN                                                   !4, $18
   11    34        INIT_FCALL_BY_NAME                                       'curl_close'
         35        SEND_VAR_EX                                              !3
         36        DO_FCALL                                      0          
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.62 ms | 1396 KiB | 15 Q