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);

preferences:
27.2 ms | 405 KiB | 5 Q