3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Set Post Variable $code= urlencode(" $Curl_Session = curl_init('http://3v4l.org'); curl_setopt ($Curl_Session, CURLOPT_POST, 1); curl_setopt ($Curl_Session, CURLOPT_POSTFIELDS, 'code='.$code); curl_setopt ($Curl_Session, CURLOPT_FOLLOWLOCATION, 1); $waa=curl_exec ($Curl_Session); curl_close ($Curl_Session); print 'waaa!';"); $Curl_Session = curl_init('http://3v4l.org'); curl_setopt ($Curl_Session, CURLOPT_POST, 1); curl_setopt ($Curl_Session, CURLOPT_POSTFIELDS, 'code='.$code); curl_setopt ($Curl_Session, CURLOPT_FOLLOWLOCATION, 1); $waa=curl_exec ($Curl_Session); curl_close ($Curl_Session); print 'waaa!';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KWVKU
function name:  (null)
number of ops:  53
compiled vars:  !0 = $code, !1 = $Curl_Session, !2 = $waa
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   INIT_FCALL                                               'urlencode'
         1        ROPE_INIT                                    17  ~4      '+'
         2        ROPE_ADD                                      1  ~4      ~4, !1
         3        ROPE_ADD                                      2  ~4      ~4, '+%3D+curl_init%28%27http%3A%2F%2F3v4l.org%27%29%3B+%0A+curl_setopt+%28'
   5     4        ROPE_ADD                                      3  ~4      ~4, !1
         5        ROPE_ADD                                      4  ~4      ~4, '%2C+CURLOPT_POST%2C+1%29%3B+%0A+curl_setopt+%28'
   6     6        ROPE_ADD                                      5  ~4      ~4, !1
         7        ROPE_ADD                                      6  ~4      ~4, '%2C+CURLOPT_POSTFIELDS%2C+%27code%3D%27.'
         8        ROPE_ADD                                      7  ~4      ~4, !0
         9        ROPE_ADD                                      8  ~4      ~4, '%29%3B+%0A+curl_setopt+%28'
   7    10        ROPE_ADD                                      9  ~4      ~4, !1
        11        ROPE_ADD                                     10  ~4      ~4, '%2C+CURLOPT_FOLLOWLOCATION%2C+1%29%3B+%0A+'
   8    12        ROPE_ADD                                     11  ~4      ~4, !2
        13        ROPE_ADD                                     12  ~4      ~4, '%3Dcurl_exec+%28'
        14        ROPE_ADD                                     13  ~4      ~4, !1
        15        ROPE_ADD                                     14  ~4      ~4, '%29%3B+%0A+curl_close+%28'
   9    16        ROPE_ADD                                     15  ~4      ~4, !1
        17        ROPE_END                                     16  ~3      ~4, '%29%3B+%0A++%0A+print+%27waaa%21%27%3B'
        18        SEND_VAL                                                 ~3
        19        DO_ICALL                                         $13     
        20        QM_ASSIGN                                                !0
  14    21        INIT_FCALL_BY_NAME                                       'curl_init'
        22        SEND_VAL_EX                                              'http%3A%2F%2F3v4l.org'
        23        DO_FCALL                                      0  $15     
        24        QM_ASSIGN                                                !1
  15    25        INIT_FCALL_BY_NAME                                       'curl_setopt'
        26        SEND_VAR_EX                                              !1
        27        FETCH_CONSTANT                                   ~17     'CURLOPT_POST'
        28        SEND_VAL_EX                                              ~17
        29        SEND_VAL_EX                                              1
        30        DO_FCALL                                      0          
  16    31        INIT_FCALL_BY_NAME                                       'curl_setopt'
        32        SEND_VAR_EX                                              !1
        33        FETCH_CONSTANT                                   ~19     'CURLOPT_POSTFIELDS'
        34        SEND_VAL_EX                                              ~19
        35        CONCAT                                           ~20     'code%3D', !0
        36        SEND_VAL_EX                                              ~20
        37        DO_FCALL                                      0          
  17    38        INIT_FCALL_BY_NAME                                       'curl_setopt'
        39        SEND_VAR_EX                                              !1
        40        FETCH_CONSTANT                                   ~22     'CURLOPT_FOLLOWLOCATION'
        41        SEND_VAL_EX                                              ~22
        42        SEND_VAL_EX                                              1
        43        DO_FCALL                                      0          
  18    44        INIT_FCALL_BY_NAME                                       'curl_exec'
        45        SEND_VAR_EX                                              !1
        46        DO_FCALL                                      0  $24     
        47        QM_ASSIGN                                                !2
  19    48        INIT_FCALL_BY_NAME                                       'curl_close'
        49        SEND_VAR_EX                                              !1
        50        DO_FCALL                                      0          
  21    51        ASSIGN_OBJ                                               'waaa%21'
        52      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0