3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Variables to POST $user = "HIDDEN"; $password = "HIDDEN"; $mobiles = "919999999999"; $message = "test"; $sender = "HIDDEN"; //Initialize CURL data to send via POST to the Msg91 SMS API $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://control.msg91.com/sendhttp.php"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "user=$user& password=$password& mobiles=$mobiles& message=$message& sender=$sender" ); //Execute CURL command and return into variable $result $result = curl_exec($ch); //Do stuff echo "$result" ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dgY4f
function name:  (null)
number of ops:  55
compiled vars:  !0 = $user, !1 = $password, !2 = $mobiles, !3 = $message, !4 = $sender, !5 = $ch, !6 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'HIDDEN'
    4     1        ASSIGN                                                   !1, 'HIDDEN'
    5     2        ASSIGN                                                   !2, '919999999999'
    6     3        ASSIGN                                                   !3, 'test'
    7     4        ASSIGN                                                   !4, 'HIDDEN'
   10     5        INIT_FCALL_BY_NAME                                       'curl_init'
          6        DO_FCALL                                      0  $12     
          7        ASSIGN                                                   !5, $12
   11     8        INIT_FCALL_BY_NAME                                       'curl_setopt'
          9        SEND_VAR_EX                                              !5
         10        FETCH_CONSTANT                                   ~14     'CURLOPT_URL'
         11        SEND_VAL_EX                                              ~14
         12        SEND_VAL_EX                                              'http%3A%2F%2Fcontrol.msg91.com%2Fsendhttp.php'
         13        DO_FCALL                                      0          
   12    14        INIT_FCALL_BY_NAME                                       'curl_setopt'
         15        SEND_VAR_EX                                              !5
         16        FETCH_CONSTANT                                   ~16     'CURLOPT_HEADER'
         17        SEND_VAL_EX                                              ~16
         18        SEND_VAL_EX                                              1
         19        DO_FCALL                                      0          
   13    20        INIT_FCALL_BY_NAME                                       'curl_setopt'
         21        SEND_VAR_EX                                              !5
         22        FETCH_CONSTANT                                   ~18     'CURLOPT_RETURNTRANSFER'
         23        SEND_VAL_EX                                              ~18
         24        SEND_VAL_EX                                              1
         25        DO_FCALL                                      0          
   14    26        INIT_FCALL_BY_NAME                                       'curl_setopt'
         27        SEND_VAR_EX                                              !5
         28        FETCH_CONSTANT                                   ~20     'CURLOPT_POST'
         29        SEND_VAL_EX                                              ~20
         30        SEND_VAL_EX                                              1
         31        DO_FCALL                                      0          
   15    32        INIT_FCALL_BY_NAME                                       'curl_setopt'
         33        SEND_VAR_EX                                              !5
         34        FETCH_CONSTANT                                   ~22     'CURLOPT_POSTFIELDS'
         35        SEND_VAL_EX                                              ~22
         36        ROPE_INIT                                    10  ~24     'user%3D'
         37        ROPE_ADD                                      1  ~24     ~24, !0
         38        ROPE_ADD                                      2  ~24     ~24, '%26%0A%0Apassword%3D'
   17    39        ROPE_ADD                                      3  ~24     ~24, !1
         40        ROPE_ADD                                      4  ~24     ~24, '%26%0Amobiles%3D'
   18    41        ROPE_ADD                                      5  ~24     ~24, !2
         42        ROPE_ADD                                      6  ~24     ~24, '%26%0Amessage%3D'
   19    43        ROPE_ADD                                      7  ~24     ~24, !3
         44        ROPE_ADD                                      8  ~24     ~24, '%26%0Asender%3D'
   20    45        ROPE_END                                      9  ~23     ~24, !4
         46        SEND_VAL_EX                                              ~23
         47        DO_FCALL                                      0          
   24    48        INIT_FCALL_BY_NAME                                       'curl_exec'
         49        SEND_VAR_EX                                              !5
         50        DO_FCALL                                      0  $30     
         51        ASSIGN                                                   !6, $30
   27    52        CAST                                          6  ~32     !6
         53        ECHO                                                     ~32
   28    54      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.61 ms | 1399 KiB | 13 Q