Skip to content
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

Input method argument with type uint not coverted to uint. #812

Closed
kse300489 opened this issue Mar 12, 2015 · 0 comments · Fixed by #2192
Closed

Input method argument with type uint not coverted to uint. #812

kse300489 opened this issue Mar 12, 2015 · 0 comments · Fixed by #2192
Assignees
Labels
Milestone

Comments

@kse300489
Copy link

kse300489 commented Mar 12, 2015

Example:

public function simpleMethod(const uint! val){
  var_dump(val);
}

Run this code:

$this->simpleMethod(1);
$this->simpleMethod(-1);

Output:

int(1)
int(-1)

Must be:

int(1)
int(1)

Or throw error, that input argument not unsigned int.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9464300-input-method-argument-with-type-uint-not-coverted-to-uint?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).
@nkt nkt added the not tested label Mar 15, 2015
nkt pushed a commit that referenced this issue Mar 15, 2015
@Jeckerson Jeckerson added bug and removed not tested labels Apr 4, 2021
@Jeckerson Jeckerson added this to the 0.13.x milestone Apr 4, 2021
@Jeckerson Jeckerson self-assigned this Apr 4, 2021
Jeckerson added a commit that referenced this issue Apr 4, 2021
@Jeckerson Jeckerson linked a pull request Apr 6, 2021 that will close this issue
3 tasks
Jeckerson added a commit that referenced this issue Apr 7, 2021
@Jeckerson Jeckerson modified the milestones: 0.13.x, 0.13.2 Apr 7, 2021
Jeckerson added a commit that referenced this issue Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants