]> granicus.if.org Git - php/log
php
10 years agoreduce struct sizes by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 12:26:59 +0000 (14:26 +0200)]
reduce struct sizes by 8 byte on 64 bit

10 years agoavoid strlen() usage in the loop
Anatol Belski [Sat, 13 Sep 2014 12:19:39 +0000 (14:19 +0200)]
avoid strlen() usage in the loop

10 years agoDrop superfluous opline for non-cv variables
Nikita Popov [Sat, 13 Sep 2014 20:25:58 +0000 (22:25 +0200)]
Drop superfluous opline for non-cv variables

10 years agoDrop dead assignments
Nikita Popov [Sat, 13 Sep 2014 20:21:35 +0000 (22:21 +0200)]
Drop dead assignments

10 years agoMake zend_llist_remove_tail a void function
Nikita Popov [Sat, 13 Sep 2014 20:05:37 +0000 (22:05 +0200)]
Make zend_llist_remove_tail a void function

The returned data is already dtored and freed at this point.

10 years agoUse more accurate sizeof
Nikita Popov [Sat, 13 Sep 2014 19:57:58 +0000 (21:57 +0200)]
Use more accurate sizeof

This is allocating an array of zval*s, not zval**s.

10 years agoAlso skip line-overwriting if SHOW_ONLY_GROUPS is used
Nikita Popov [Thu, 11 Sep 2014 21:21:40 +0000 (23:21 +0200)]
Also skip line-overwriting if SHOW_ONLY_GROUPS is used

10 years agoswitch to using mbrlen with VS
Anatol Belski [Sat, 13 Sep 2014 11:52:10 +0000 (13:52 +0200)]
switch to using mbrlen with VS

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 10:52:11 +0000 (12:52 +0200)]
reduce the struct size by 8 byte on 64 bit

this one looks like debug only, but still useful

10 years agoreduced the struct size by 8 byte on 64 bit
Anatol Belski [Sat, 13 Sep 2014 10:49:10 +0000 (12:49 +0200)]
reduced the struct size by 8 byte on 64 bit

10 years agofix condition
Anatol Belski [Fri, 12 Sep 2014 22:03:42 +0000 (00:03 +0200)]
fix condition

A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string should have been initalized
before.

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 21:27:55 +0000 (23:27 +0200)]
reduce the struct size by 8 byte on 64 bit

10 years agoreduce the struct size by 8 bytes on 64 bit
Anatol Belski [Fri, 12 Sep 2014 21:10:56 +0000 (23:10 +0200)]
reduce the struct size by 8 bytes on 64 bit

10 years agoreduce the struct size by 8 byte on x64
Anatol Belski [Fri, 12 Sep 2014 21:08:09 +0000 (23:08 +0200)]
reduce the struct size by 8 byte on x64

10 years agofix possible null ptr deref
Anatol Belski [Fri, 12 Sep 2014 20:31:02 +0000 (22:31 +0200)]
fix possible null ptr deref

10 years agofix possible nullptr derefrence
Anatol Belski [Fri, 12 Sep 2014 20:18:06 +0000 (22:18 +0200)]
fix possible nullptr derefrence

10 years agoreduce size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 20:06:10 +0000 (22:06 +0200)]
reduce size by 8 byte on 64 bit

10 years agofix ZTS build
Anatol Belski [Fri, 12 Sep 2014 19:38:39 +0000 (21:38 +0200)]
fix ZTS build

10 years agobetter align and reduce size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 19:31:25 +0000 (21:31 +0200)]
better align and reduce size by 8 byte on 64 bit

10 years agofix test which fails if prevous run cleanup failed
Anatol Belski [Fri, 12 Sep 2014 15:01:53 +0000 (17:01 +0200)]
fix test which fails if prevous run cleanup failed

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:43:05 +0000 (16:43 +0200)]
fix type

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:39:09 +0000 (16:39 +0200)]
fix type

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:37:55 +0000 (16:37 +0200)]
fix type

10 years agoreduce the struct size by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 14:23:24 +0000 (16:23 +0200)]
reduce the struct size by 8 byte on 64 bit

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 14:22:42 +0000 (16:22 +0200)]
fix type

10 years agobetter alignment, reduced the struct by 8 byte on 64 bit
Anatol Belski [Fri, 12 Sep 2014 13:59:54 +0000 (15:59 +0200)]
better alignment, reduced the struct by 8 byte on 64 bit

10 years agofix type
Anatol Belski [Fri, 12 Sep 2014 13:51:39 +0000 (15:51 +0200)]
fix type

10 years agoForget to commit this part...
Xinchen Hui [Fri, 12 Sep 2014 18:00:15 +0000 (02:00 +0800)]
Forget to commit this part...

10 years agoFinally!!! Fixed segfault in GC
Xinchen Hui [Fri, 12 Sep 2014 17:52:47 +0000 (01:52 +0800)]
Finally!!! Fixed segfault in GC

this must not be the final fix, but let's stop the segfault first and
use this to indicate where the problem is.

reproduced by phpspec

10 years agomake this test a bit more tolerant when checking sleep time
Anatol Belski [Fri, 12 Sep 2014 12:03:06 +0000 (14:03 +0200)]
make this test a bit more tolerant when checking sleep time

10 years agoremove extra semicolon
Anatol Belski [Thu, 11 Sep 2014 11:12:54 +0000 (13:12 +0200)]
remove extra semicolon

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 12 Sep 2014 12:37:54 +0000 (14:37 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fixed the cast and incompatible pointer warning

Conflicts:
sapi/cgi/fastcgi.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Fri, 12 Sep 2014 12:36:54 +0000 (14:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fixed the cast and incompatible pointer warning

10 years agofixed the cast and incompatible pointer warning
Anatol Belski [Fri, 12 Sep 2014 12:36:00 +0000 (14:36 +0200)]
fixed the cast and incompatible pointer warning

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Thu, 11 Sep 2014 21:33:12 +0000 (23:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
  5.6.2 now

Conflicts:
configure.in
main/php_version.h

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 11 Sep 2014 21:31:16 +0000 (23:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0

10 years agoreflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
Anatol Belski [Thu, 11 Sep 2014 21:30:01 +0000 (23:30 +0200)]
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0

10 years ago5.6.2 now
Julien Pauli [Thu, 11 Sep 2014 16:37:25 +0000 (18:37 +0200)]
5.6.2 now

10 years agoFixed refcounting for references
Dmitry Stogov [Thu, 11 Sep 2014 15:12:12 +0000 (19:12 +0400)]
Fixed refcounting for references

10 years agoDon't show TEST line if SHOW_ONLY_GROUPS is used
Nikita Popov [Thu, 11 Sep 2014 14:27:53 +0000 (16:27 +0200)]
Don't show TEST line if SHOW_ONLY_GROUPS is used

10 years agoFix ext/dba ini handling
Nikita Popov [Thu, 11 Sep 2014 14:05:39 +0000 (16:05 +0200)]
Fix ext/dba ini handling

Doing this change blindly based on gcov output

10 years agoSimplify ASSIGN code
Dmitry Stogov [Thu, 11 Sep 2014 13:00:06 +0000 (17:00 +0400)]
Simplify ASSIGN code

10 years agoFix yy_limit computation after encoding switch
Nikita Popov [Thu, 11 Sep 2014 12:51:02 +0000 (14:51 +0200)]
Fix yy_limit computation after encoding switch

The three assignments above this line are still broken - they assume
that byte offsets in one encoding directly map to byte offsets in
another encoding.

I'm fixing the length here because it is the one causing out-of-bounds
reads and is easy to fix. For the others we'd have to actually compute
new offsets.

10 years agoRemove self-contradictory zend multibyte assertion
Nikita Popov [Thu, 11 Sep 2014 12:04:15 +0000 (14:04 +0200)]
Remove self-contradictory zend multibyte assertion

Code that explicitly exists to handle an incompatible internal
encoding should not assert that the internal encoding is compatible.

10 years agoRemoved ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly...
Dmitry Stogov [Thu, 11 Sep 2014 08:29:54 +0000 (12:29 +0400)]
Removed ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly the same as ZEND_QM_ASSIGN and ZEND_JMP_SET)

10 years agoRevert "Removing ext/ereg and dependencies"
Dmitry Stogov [Thu, 11 Sep 2014 07:06:57 +0000 (11:06 +0400)]
Revert "Removing ext/ereg and dependencies"

This reverts commit 86de7963fe69638431c0aa8f413d25e01bf99d68.

10 years agoRevert "Updated UPGRADING for ext/ereg removal"
Dmitry Stogov [Thu, 11 Sep 2014 07:06:47 +0000 (11:06 +0400)]
Revert "Updated UPGRADING for ext/ereg removal"

This reverts commit 610ef5d7ecadb26a491aa9fc8ec7439e4016a3fc.

10 years agoUpdated UPGRADING for ext/ereg removal
Tjerk Meesters [Wed, 10 Sep 2014 13:03:36 +0000 (21:03 +0800)]
Updated UPGRADING for ext/ereg removal

10 years agoRemoving ext/ereg and dependencies
Tjerk Meesters [Thu, 28 Aug 2014 08:41:38 +0000 (16:41 +0800)]
Removing ext/ereg and dependencies

Affected extensions:
- opcache (use pcre)
- mbstring (removed ereg functions overloading)
- pgsql (use pcre)
- reflection (test cases using 'ereg')

SAPI:
- apache (header only)
- apache_hooks (header only)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 10 Sep 2014 17:32:25 +0000 (19:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix precision when fetching float through mysqlnd

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 10 Sep 2014 17:31:59 +0000 (19:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix precision when fetching float through mysqlnd

10 years agofix precision when fetching float through mysqlnd
Anatol Belski [Wed, 10 Sep 2014 17:29:11 +0000 (19:29 +0200)]
fix precision when fetching float through mysqlnd

fixes failing ext/mysqli/tests/010.phpt

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Wed, 10 Sep 2014 11:31:39 +0000 (13:31 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  make LTP version check a blacklist

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Wed, 10 Sep 2014 11:31:22 +0000 (13:31 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  make LTP version check a blacklist

10 years agomake LTP version check a blacklist
Michael Wallner [Wed, 10 Sep 2014 11:30:52 +0000 (13:30 +0200)]
make LTP version check a blacklist

10 years agoreplace zend_hash_find with zend_hash_str_find which fixes leaking the key
Anatol Belski [Wed, 10 Sep 2014 11:22:23 +0000 (13:22 +0200)]
replace zend_hash_find with zend_hash_str_find which fixes leaking the key

10 years agosecond big shot on porting ext/oci8
Anatol Belski [Wed, 10 Sep 2014 10:40:32 +0000 (12:40 +0200)]
second big shot on porting ext/oci8

still a lot to do, but most raw things done

10 years agofirst shot on fixing ext/oci8
Anatol Belski [Tue, 9 Sep 2014 19:50:26 +0000 (21:50 +0200)]
first shot on fixing ext/oci8

10 years agobasic datatype fixes for ext/oci8
Anatol Belski [Tue, 9 Sep 2014 11:12:26 +0000 (13:12 +0200)]
basic datatype fixes for ext/oci8

10 years agoDon't miss warning messages
Dmitry Stogov [Wed, 10 Sep 2014 09:02:01 +0000 (13:02 +0400)]
Don't miss warning messages

10 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Wed, 10 Sep 2014 05:32:36 +0000 (07:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  FR #67990 - Added nowait argument to sem_acquire

10 years agoFR #67990 - Added nowait argument to sem_acquire
Matteo Beccati [Fri, 25 Jul 2014 09:21:47 +0000 (11:21 +0200)]
FR #67990 - Added nowait argument to sem_acquire

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 9 Sep 2014 23:20:20 +0000 (16:20 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS

10 years agoupdate NEWS
Stanislav Malyshev [Tue, 9 Sep 2014 23:11:32 +0000 (16:11 -0700)]
update NEWS

10 years agoMerge branch 'PHP-5.6'
Daniel Lowrey [Tue, 9 Sep 2014 16:25:36 +0000 (10:25 -0600)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Daniel Lowrey [Tue, 9 Sep 2014 16:24:40 +0000 (10:24 -0600)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Daniel Lowrey [Tue, 9 Sep 2014 15:27:20 +0000 (09:27 -0600)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Bug #41631: Fix regression from first attempt (6569db8)
  Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoBug #41631: Fix regression from first attempt (6569db8)
Daniel Lowrey [Tue, 9 Sep 2014 13:50:15 +0000 (07:50 -0600)]
Bug #41631: Fix regression from first attempt (6569db8)

10 years agoBug #67965: Fix blocking behavior in non-blocking crypto streams
Daniel Lowrey [Tue, 9 Sep 2014 13:37:57 +0000 (07:37 -0600)]
Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Tue, 9 Sep 2014 11:32:09 +0000 (19:32 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

Conflicts:
Zend/zend_variables.c

10 years agoUpdated NEWS for #67985
Tjerk Meesters [Tue, 9 Sep 2014 10:04:09 +0000 (18:04 +0800)]
Updated NEWS for #67985

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Tue, 9 Sep 2014 10:03:10 +0000 (18:03 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

10 years agoUpdated NEWS for #67985
Tjerk Meesters [Tue, 9 Sep 2014 10:02:45 +0000 (18:02 +0800)]
Updated NEWS for #67985

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Tue, 9 Sep 2014 10:00:49 +0000 (18:00 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed #67985 - Incorrect last used array index copied to new array after unset

10 years agoFixed #67985 - Incorrect last used array index copied to new array after unset
Tjerk Meesters [Tue, 9 Sep 2014 09:58:45 +0000 (17:58 +0800)]
Fixed #67985 - Incorrect last used array index copied to new array after unset

In master zend_array_dup() is used to do this properly; this is a workaround.

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Tue, 9 Sep 2014 04:56:33 +0000 (06:56 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  duplicate value's string for the SAPI filter
  Fine tuned the order of adding request variables.

10 years agoduplicate value's string for the SAPI filter
Michael Wallner [Tue, 9 Sep 2014 04:54:23 +0000 (06:54 +0200)]
duplicate value's string for the SAPI filter

reported by sesser; tyrael, do you take care of the bug/NEWS?

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoRemove unnecessary branch/temp variable
Xinchen Hui [Tue, 9 Sep 2014 03:52:25 +0000 (11:52 +0800)]
Remove unnecessary branch/temp variable

10 years agoDon't anload zend extensions if ZEND_DONT_UNLOAD_MODULES environment variable is set
Dmitry Stogov [Mon, 8 Sep 2014 20:50:44 +0000 (00:50 +0400)]
Don't anload zend extensions if ZEND_DONT_UNLOAD_MODULES environment variable is set

10 years agoWe don't need to check for xlat entry twice
Dmitry Stogov [Mon, 8 Sep 2014 20:40:14 +0000 (00:40 +0400)]
We don't need to check for xlat entry twice

10 years agoFixed GC problem (arrays may be recorded as possible root of garbage cycle. we have...
Dmitry Stogov [Mon, 8 Sep 2014 20:12:36 +0000 (00:12 +0400)]
Fixed GC problem (arrays may be recorded as possible root of garbage cycle. we have to clear this info before deleting array)

10 years agoMerge branch 'PHP-5.6'
Adam Harvey [Mon, 8 Sep 2014 19:31:58 +0000 (19:31 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix bug #67972 (SessionHandler Invalid memory read create_sid()).
  Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode.
  5.5.18 now

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Mon, 8 Sep 2014 19:28:15 +0000 (19:28 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug #67972 (SessionHandler Invalid memory read create_sid()).
  Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode.
  5.5.18 now

Conflicts:
configure.in
main/php_version.h

10 years agoFix bug #67972 (SessionHandler Invalid memory read create_sid()).
Adam Harvey [Mon, 8 Sep 2014 19:25:14 +0000 (19:25 +0000)]
Fix bug #67972 (SessionHandler Invalid memory read create_sid()).

SessionHandler::create_sid() didn't check if PS(default_mod) was initialised
before attempting to call its create_sid() handler.

10 years agomade Visual Studio to understand that zend_error_noreturn() will not return
Anatol Belski [Mon, 8 Sep 2014 18:34:26 +0000 (20:34 +0200)]
made Visual Studio to understand that zend_error_noreturn() will not return

- windows only, on linux gcc would cause a warning that the function returns,
  as no noreturn functions are used
- ZEND_NORETURN works on windows as well now, using __declspec(noreturn),
  which is useful for the other cases
- one more function call will be needed, which is not critical for the
  error reporting
- the way is open to enable the same for gcc as soon as it's not causing a warning

10 years agoAdded ability to make a number of "warmup" requests before an actual benchmark.
Dmitry Stogov [Mon, 8 Sep 2014 12:24:46 +0000 (16:24 +0400)]
Added ability to make a number of "warmup" requests before an actual benchmark.
(php-cgi -T [<number-of-warmup-requests>,]<number-of-benchmark-requests> <file>)

10 years agoFix parser stack destruction with dummy ENCAPSED_AND_WHITESPACE
Nikita Popov [Mon, 8 Sep 2014 11:50:53 +0000 (13:50 +0200)]
Fix parser stack destruction with dummy ENCAPSED_AND_WHITESPACE

T_ENCAPSED_AND_WHITESPACE is now specified to always hold a value,
so give it a NULL value in the dummy cases.

10 years agoRemoved IS_STR_OFFSET type and corresponding macros. Optimized string offset handling...
Dmitry Stogov [Mon, 8 Sep 2014 11:46:45 +0000 (15:46 +0400)]
Removed IS_STR_OFFSET type and corresponding macros. Optimized string offset handling in ASSIGN_DIM opcode.

10 years agoFixed comments and removed useless code.
Dmitry Stogov [Mon, 8 Sep 2014 07:08:05 +0000 (11:08 +0400)]
Fixed comments and removed useless code.

10 years agofix null pointer deref
Anatol Belski [Sun, 7 Sep 2014 18:26:01 +0000 (20:26 +0200)]
fix null pointer deref

10 years agofixed the tests, related to the basename behaviour, bug #66395
Anatol Belski [Sun, 7 Sep 2014 18:11:49 +0000 (20:11 +0200)]
fixed the tests, related to the basename behaviour, bug #66395

10 years agofixed string index handling with references
Anatol Belski [Sun, 7 Sep 2014 11:34:18 +0000 (13:34 +0200)]
fixed string index handling with references

10 years agofix 64 bit string index usage
Anatol Belski [Sat, 6 Sep 2014 22:54:47 +0000 (00:54 +0200)]
fix 64 bit string index usage

10 years agoRevert "Move safe_address into zend_multiply.h"
Nikita Popov [Sat, 6 Sep 2014 20:12:37 +0000 (22:12 +0200)]
Revert "Move safe_address into zend_multiply.h"

This reverts commit 43b02e169c718335a82b8c90c3252194f988659a.

I'm getting symbol resolution issues for zend_error_noreturn in the
opcache.so, so reverting this for now.

10 years agoMove safe_address into zend_multiply.h
Nikita Popov [Sat, 6 Sep 2014 11:47:05 +0000 (13:47 +0200)]
Move safe_address into zend_multiply.h

This allows reuse in zend_arena_calloc.

Also renamed the function to zend_safe_address as it's no longer
private to the allocator.

10 years agoAccording to LSB 3.2, finite() has been deprecated with C99.
Tjerk Meesters [Sat, 6 Sep 2014 11:14:43 +0000 (19:14 +0800)]
According to LSB 3.2, finite() has been deprecated with C99.

See: https://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/baselib-finite.html

Changed the order in which we detect whether to use finite() or isfinite(), favouring the latter.