BitOne / php-meminfo

PHP extension to get insight about memory usage
MIT License
1.08k stars 78 forks source link

[php7] Fail on struct_size_64bits.phpt #40

Closed francisbesset closed 6 years ago

francisbesset commented 7 years ago

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