3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); $url = "http://www.sheinside.com/"; //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); //execute post $result = curl_exec($ch); //close connection curl_close($ch); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W2RbR
function name:  (null)
number of ops:  32
compiled vars:  !0 = $ch, !1 = $url, !2 = $fields, !3 = $fields_string, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        DO_FCALL                                      0  $5      
          2        ASSIGN                                                   !0, $5
    5     3        ASSIGN                                                   !1, 'http%3A%2F%2Fwww.sheinside.com%2F'
    7     4        INIT_FCALL_BY_NAME                                       'curl_setopt'
          5        SEND_VAR_EX                                              !0
          6        FETCH_CONSTANT                                   ~8      'CURLOPT_URL'
          7        SEND_VAL_EX                                              ~8
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0          
    8    10        INIT_FCALL_BY_NAME                                       'curl_setopt'
         11        SEND_VAR_EX                                              !0
         12        FETCH_CONSTANT                                   ~10     'CURLOPT_POST'
         13        SEND_VAL_EX                                              ~10
         14        COUNT                                            ~11     !2
         15        SEND_VAL_EX                                              ~11
         16        DO_FCALL                                      0          
    9    17        INIT_FCALL_BY_NAME                                       'curl_setopt'
         18        SEND_VAR_EX                                              !0
         19        FETCH_CONSTANT                                   ~13     'CURLOPT_POSTFIELDS'
         20        SEND_VAL_EX                                              ~13
         21        SEND_VAR_EX                                              !3
         22        DO_FCALL                                      0          
   12    23        INIT_FCALL_BY_NAME                                       'curl_exec'
         24        SEND_VAR_EX                                              !0
         25        DO_FCALL                                      0  $15     
         26        ASSIGN                                                   !4, $15
   15    27        INIT_FCALL_BY_NAME                                       'curl_close'
         28        SEND_VAR_EX                                              !0
         29        DO_FCALL                                      0          
   17    30        ECHO                                                     !4
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.27 ms | 1399 KiB | 13 Q