DEV Community

Discussion on: Modern PHP crash course

Collapse
 
peter279k profile image
peter279k

The following code snippets are not correct:

$ age = (int)readline('Your age:');
Enter fullscreen mode Exit fullscreen mode

It should change into:

$age = (int)readline('Your age:');
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ericchapman profile image
Eric The Coder

Thanks for your contructive comment