PHP Console App and readline
2 posts
• Page 1 of 1
PHP Console App and readline
When trying to use the readline function in a VS PHP Console App I get the error message ...
"call to undefined function readline()"
Is readline supported in php for windows ?
If so how can I get around this issue ?
Thanks
Rob
"call to undefined function readline()"
Is readline supported in php for windows ?
If so how can I get around this issue ?
Thanks
Rob
- RobertTostevin
- Posts: 1
- Joined: November 21st, 2015, 12:40 pm
Re: PHP Console App and readline
Hi,
First, the project has to be of type Console Application.
Second, readline library might not be available in Windows. You can workaround it by using
Thanks,
First, the project has to be of type Console Application.
Second, readline library might not be available in Windows. You can workaround it by using
- Code: Select all
fgets(STDIN)
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 38 guests