3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ENDPOINT_DEPOSIT_STATUS = 'transactions/%s'; $endpoint = sprintf($ENDPOINT_DEPOSIT_STATUS, '123sdsfs-dsfsdf-d=dsfsdf=sdf'); var_dump($endpoint); $url = 'https://api.paymentsgate.pro/api/v1/' . $endpoint; $body = 'transaction_id=123sdsfs-dsfsdf-d=dsfsdf=sdf'; var_dump($url); $url .= '?' . $body; var_dump($url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lbvbq
function name:  (null)
number of ops:  21
compiled vars:  !0 = $ENDPOINT_DEPOSIT_STATUS, !1 = $endpoint, !2 = $url, !3 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'transactions%2F%25s'
    4     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '123sdsfs-dsfsdf-d%3Ddsfsdf%3Dsdf'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    7     9        CONCAT                                           ~8      'https%3A%2F%2Fapi.paymentsgate.pro%2Fapi%2Fv1%2F', !1
         10        ASSIGN                                                   !2, ~8
    9    11        ASSIGN                                                   !3, 'transaction_id%3D123sdsfs-dsfsdf-d%3Ddsfsdf%3Dsdf'
   11    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
   13    15        CONCAT                                           ~12     '%3F', !3
         16        ASSIGN_OP                                     8          !2, ~12
   16    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.57 ms | 1433 KiB | 15 Q