Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Conversation

@liam-wiltshire
Copy link

@liam-wiltshire liam-wiltshire commented Sep 23, 2017

Assert that readline returns false if two args are passed

UserGroup: MadisonPHP

var_dump(readline("test", "test"));
?>
--EXPECTF--
Warning: readline() expects at most 1 parameter, 2 given in %s on line %d
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be an unnecessary test of ZPP

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you recommend best to avoid this. Obviously I could suppress the error, but that seems gross, or tell it to not output errors? Unless there is another test declaration that I don't know about (probably!)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liam-wiltshire see also this discussion https://externals.io/message/103886#103989 for more info about this. Thank you.

Copy link
Contributor

@krakjoe krakjoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ZPP

p365labs pushed a commit to p365labs/phptestfest-php-src that referenced this pull request Nov 18, 2017
@carusogabriel
Copy link
Contributor

Closing as this is basically a ZPP failure test and we do not accept it anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants