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_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/ue5JK
function name:  (null)
number of ops:  49
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_RETURNTRANSFER'
         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_POST'
         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_POSTFIELDS'
         29        SEND_VAL_EX                                              ~20
         30        ROPE_INIT                                    10  ~22     'user%3D'
         31        ROPE_ADD                                      1  ~22     ~22, !0
         32        ROPE_ADD                                      2  ~22     ~22, '%26%0A%0Apassword%3D'
   16    33        ROPE_ADD                                      3  ~22     ~22, !1
         34        ROPE_ADD                                      4  ~22     ~22, '%26%0Amobiles%3D'
   17    35        ROPE_ADD                                      5  ~22     ~22, !2
         36        ROPE_ADD                                      6  ~22     ~22, '%26%0Amessage%3D'
   18    37        ROPE_ADD                                      7  ~22     ~22, !3
         38        ROPE_ADD                                      8  ~22     ~22, '%26%0Asender%3D'
   19    39        ROPE_END                                      9  ~21     ~22, !4
         40        SEND_VAL_EX                                              ~21
         41        DO_FCALL                                      0          
   23    42        INIT_FCALL_BY_NAME                                       'curl_exec'
         43        SEND_VAR_EX                                              !5
         44        DO_FCALL                                      0  $28     
         45        ASSIGN                                                   !6, $28
   26    46        CAST                                          6  ~30     !6
         47        ECHO                                                     ~30
   27    48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.3 ms | 1399 KiB | 13 Q