Re: [PHP-DEV] return values of socket_recvmsg

2018-01-26 Thread Sam Ding
uint32_t property_guard; uint32_t extra; } u2; } * How do these two variables match between php and C? Thanks, Sam Sam Ding/Toronto/IBM wrote on 01/26/2018 09:36:00 AM: > From: Sam Ding/Toronto/IBM > To: Kalle Sommer Nielsen > Cc: PHP internals , kalle@gmail.com > Date: 0

Re: [PHP-DEV] return values of socket_recvmsg

2018-01-26 Thread Sam Ding
: > From: Kalle Sommer Nielsen > To: Sam Ding > Cc: PHP internals > Date: 01/26/2018 01:58 AM > Subject: Re: [PHP-DEV] return values of socket_recvmsg > Sent by: kalle@gmail.com > > Hi Sam > > 2018-01-25 23:11 GMT+01:00 Sam Ding : > > > > The test case

[PHP-DEV] return values of socket_recvmsg

2018-01-25 Thread Sam Ding
The test case ext/sockets/tests/socket_recvmsg.php has following output on x86_64: === ... 1 Array 2 ( 3[name] => Array 4( 5[family] => 10 6[addr] => ::1 7[port] => 7001 8[flowinfo] => 0 9[scope_id] => 0 10) 11

[PHP-DEV] v7.2.1 test cases crash on s390x

2018-01-22 Thread Sam Ding
Hi, When testing v7.2.1 on s390x two cases are found crash: 1) ext/mbstring/tests/mb_ereg.phpt ; 2) ext/mbstring/tests/mb_ereg_variation5.phpt] ; It happens at /home/work/php/php/ext/mbstring/oniguruma/src/regexec.c:2481, here is the code (replaced the macros): 2474case OP_STATE_CH

Re: [PHP-DEV] Big_Endian problem

2018-01-22 Thread Sam Ding
m p...@golemon.com wrote on 01/19/2018 05:07:25 PM: > From: Sara Golemon > To: Sam Ding > Cc: PHP internals > Date: 01/19/2018 05:07 PM > Subject: Re: [PHP-DEV] Big_Endian problem > Sent by: p...@golemon.com > > On Fri, Jan 19, 2018 at 4:04 PM, Sam Ding wrote: > &g

[PHP-DEV] Big_Endian problem

2018-01-19 Thread Sam Ding
nterpreter support Big_Endian? Are there any existing macros/functions to deal with Big/Little Endian? Thanks, Sam Ding

[PHP-DEV] function stream_isatty

2018-01-18 Thread Sam Ding
There are 5 test cases that have different results between s390x and x86_64: |-| |Test stream_isatty with redirected STDERR| |tests/output/stream_isatty_err.phpt.]

[PHP-DEV] unit test a single case

2018-01-17 Thread Sam Ding
Hi PHP developers, I am new and try to porting php v7.2.1 on IBM s390x, after building and run unit test "make test", there are some failed cases. Is there any way I can run a single case and get the result? Further how to debug a php unit case code? Thanks, Sam Ding, Linux on z Sys

[PHP-DEV] request to add

2018-01-17 Thread Sam Ding
Sam Ding, Linux on z Systems Open Source Ecosystem IBM Toronto Lab, email: samd...@ca.ibm.com phone: (905)413-2947