Skip to content

Functions ssh2_sftp : wrong character in the example #2085

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

Closed
BeWog opened this issue Dec 15, 2022 · 1 comment
Closed

Functions ssh2_sftp : wrong character in the example #2085

BeWog opened this issue Dec 15, 2022 · 1 comment
Labels
invalid This doesn't seem right

Comments

@BeWog
Copy link

BeWog commented Dec 15, 2022

Hi,

In the 1st example ("Example #1 Opening a file via SFTP") of this page : https://www.php.net/manual/fr/function.ssh2-sftp.php
I copy/paste the example code for a test.

Via PHP CLI, i have this error:

PHP Fatal error:  Uncaught Error: Call to undefined function  ssh2_connect() in

Then (after a long time and became crazy), i launch via Apache PHP:

PHP Fatal error:  Uncaught Error: Call to undefined function \xc2\xa0ssh2_connect() in

"\xc2\xa0" ? 😲
There is a wrong character in the doc.

I deleted this and it works !

@cmb69
Copy link
Member

cmb69 commented Dec 15, 2022

This is a duplicate of php/phd#71.

@cmb69 cmb69 closed this as completed Dec 15, 2022
@cmb69 cmb69 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2022
@cmb69 cmb69 added the invalid This doesn't seem right label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants