3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $contents = file_get_contents('https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0'); var_dump($contents);
Output for 7.1.20, 7.2.6
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/s0pap on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0) is not within the allowed path(s): (/tmp:/in) in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0): failed to open stream: Operation not permitted in /in/s0pap on line 3 bool(false)
Output for 7.0.20, 7.1.5 - 7.1.10, 7.2.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/s0pap on line 3 bool(false)
Output for 5.4.15 - 7.0.12, 7.1.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/s0pap on line 3 bool(false)
Output for 5.3.0 - 5.4.14
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0): failed to open stream: No such file or directory in /in/s0pap on line 3 bool(false)
Output for 4.3.2 - 5.2.17
Notice: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0): failed to open stream: No such file or directory in /in/s0pap on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: file_get_contents() [http://www.php.net/function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/s0pap on line 3 Warning: file_get_contents(https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php?oIDs=AB150629151331%7CAB150629152603%7CAB150629152826%7CAB150629184501%7CAB150629233901%7CAB150630013441%7CAB150630081942%7CAB150630112829%7CAB150630121823%7CAB150630160011%7CAB150630160457%7CAB150630223918%7CAB150630225608%7CAB150630232158%7CAB150630235440%7CAB150701112005%7CAB150701115744%7CAB150701155329%7CAB150701190106%7CAB150701192113%7CAB150702091725%7CAB150702114445%7CAB150702115138%7CAB150702115336%7CAB150702170354%7CAB150702172701%7CAB150702223814%7CAB150708174548%7CAB150710061228%7CAB150710171049%7CAB150713213237%7CAB150713213321%7CAB150713213432%7CAB150713235524%7CAB150713235903%7CAB150714000608%7CAB150714001006%7C&domain=aerobus&delimiter=%7C&skey=a64855c36b72bfdc53795f32b867c18e&format=0) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/s0pap on line 3 bool(false)