{
}
Online Python Compiler
Online R Compiler
Online SQL Editor
Online HTML/CSS Editor
Online Java Compiler
Online C Compiler
Online C++ Compiler
Online C# Compiler
Online JavaScript Compiler
Online Typescript Compiler
Typescript Online Compiler
Online GoLang Compiler
Online Rust Compiler
Scala Online Compiler
Dart Online Compiler
Ruby Online Compiler
Online PHP Compiler
Online Swift Compiler
Generating Link
Generating Link
Share your code
Share code
Copy Link
Copied to clipboard
or share using
BLACK
NOVEMBER
Ends in
Get 66% off PRO
Ends in
Are you struggling to build your coding confidence or land your first job?
Fast-track to your first pay-check.
Ends in
Start PRO
Start PRO
BLACK
NOVEMBER
Ends in
Get 66% off PRO
Ends in
Are you struggling to build your coding confidence or land your first job?
Fast-track to your first pay-check.
Ends in
Start PRO
Start PRO
PHP Online Compiler
Learn Python App
Learn Python
main.php
Output
main.php
Share
Run
Run
<?php $input = "code=0&message=OK&transId=XXXX-XXXX-XXXX&redirect=https%3A%2F%2Fpay1.comgate.cz%2Finit%3Fid%3DXXXX-XXXX-XXXX"; // Použití parse_str pro zpracování query stringu parse_str($input, $map); echo "Code:\n " . $map['code'] . PHP_EOL; echo "Message:\n " . $map['message'] . PHP_EOL; echo "TransId:\n " . $map['transId'] . PHP_EOL; echo "Redirect:\n " . $map['redirect'] . PHP_EOL;
Output
Clear