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

[php7] Fail on struct_size_64bits.phpt #40

Closed
francisbesset opened this issue Jul 28, 2017 · 0 comments
Closed

[php7] Fail on struct_size_64bits.phpt #40

francisbesset opened this issue Jul 28, 2017 · 0 comments

Comments

@francisbesset
Copy link

francisbesset commented Jul 28, 2017

Hi,
I compiled the php-meminfo ext on my MacOS and GNU/Linux system and I have this fail on struct_size_64bits.phpt test :

$ ./tests/struct_size_64bits.sh 
Simple Zend Type size on this platform
  Zend Signed Integer (zend_long): 8 bytes.
  Zend Unsigned Integer (zend_ulong): 8 bytes.
  Zend Unsigned Char (zend_uchar): 1 bytes.
Structs size on this platform:
  Variable (zval): 16 bytes.
  Class (zend_class_entry): 504 bytes.
  Object (zend_object): 56 bytes.
$ php -v
PHP 7.1.7 (cli) (built: Jul 27 2017 23:05:35) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

$ uname -a
Darwin Francis 14.5.0 Darwin Kernel Version 14.5.0: Sun Sep 25 22:07:15 PDT 2016; root:xnu-2782.50.9~1/RELEASE_X86_64 x86_64
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