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

sscanf return value with %*-assignments #7880

Open
thekid opened this issue Jun 10, 2017 · 0 comments
Open

sscanf return value with %*-assignments #7880

thekid opened this issue Jun 10, 2017 · 0 comments

Comments

@thekid
Copy link
Contributor

thekid commented Jun 10, 2017

HHVM Version

3.20.2

Standalone code, or other way to reproduce the problem

$ echo '<?php var_dump([sscanf("C:", "%c%*[:]", $drive), $drive]);' | hhvm --php /dev/stdin

Expected result

array(2) {
  [0]=>
  int(2)
  [1]=>
  string(1) "C"
}

Actual result

array(2) {
  [0]=>
  int(1)
  [1]=>
  string(1) "C"
}
hhvm-bot pushed a commit that referenced this issue Jul 16, 2019
Summary:
Experimental support for building with Dune. It is not yet integrated into our makefile, while we work out kinks in our internal builds. The plan is to switch over from ocamlbuild, though.
Pull Request resolved: facebook/flow#7880

Reviewed By: gabelevi

Differential Revision: D16094974

Pulled By: mroch

fbshipit-source-id: 1b31ce0677cfddb2d6daaf735714385d69d916b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant