-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Parse error: syntax error, unexpected T_STRING #99
Comments
Any ideas? |
will look into it today. |
@n01ukn0w I can't seem to be able to replicate ... can you give me the code / steps to re-create this issue? |
<?php
/**
* @author
* @copyright 2016
*/
?>
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Unirest Test</p>';?>
<?php
if (is_file('/home/XXXXX/unirest-php/src/Unirest.php'))
{
require_once('/home/XXXXXX/unirest-php/src/Unirest.php');
echo '<p>Found /home/XXXXXX/unirest-php/src/Unirest.php</p>';
}
Else {
echo '<p>Not working</p>';
}
?>
</body>
</html> |
Status update? |
php 5.4 is no longer supported http://php.net/eol.php The following worked fine for me in PHP 5.5 through to PHP 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting the following error:
I swapped out my real path for
/path/to/
.Thanks.
The text was updated successfully, but these errors were encountered: