We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This RFC suggests creating a consistent standard library, which will be transpiled to the current function-based PHP standard library.
Consistency when authoring without speed decrease at runtime.
The API uses [group]::[function] as a principle, where group is one of:
[group]::[function]
str
array
...and function is represented by the methods from JavaScript, a language every PHP programmer knows anyhow.
$s= 'Test,the,west'; // What we write $l= str::length($s); $p= str::indexOf($s, ','); // What gets emitted $l= \strlen($s); $p= false === ($_p= \strpos($s, ',')) ? -1 : $_p;
The text was updated successfully, but these errors were encountered:
See also https://docs.zephir-lang.com/0.12/en/builtin-methods
Sorry, something went wrong.
No branches or pull requests
Scope of Change
This RFC suggests creating a consistent standard library, which will be transpiled to the current function-based PHP standard library.
Rationale
Consistency when authoring without speed decrease at runtime.
Functionality
The API uses
[group]::[function]
as a principle, where group is one of:str
- Handling stringsarray
- Handling arrays...and function is represented by the methods from JavaScript, a language every PHP programmer knows anyhow.
Security considerations
Speed impact
Dependencies
Related documents
The text was updated successfully, but these errors were encountered: