Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: emptyExpr

May 13, 2012

  1. Nikita Popov

    Allow arbitrary expressions for empty()

    This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs.
    
    The change allows passing the result of function calls and other
    expressions to the empty() language construct. This is accomplished by
    simply rewriting empty(expr) to !expr.
    
    The change does not affect the suppression of errors when using empty()
    on variables. empty($undefinedVar) will continue not to throw errors.
    When an expression is used inside empty() on the other hand, errors will
    not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
    throw a notice.
    
    The change also does not make empty() into a real function, so using
    'empty' as a callback is still not possible.
    
    In addition to the empty() changes the commit adds nicer error messages
    when isset() is used on function call results or other expressions.
    authored

May 12, 2012

  1. Xinchen Hui

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object)
      fix stack overflow in php_intlog10abs()
      fix stack overflow in php_intlog10abs()
    laruence authored
  2. Xinchen Hui

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object)
      fix stack overflow in php_intlog10abs()
    
    Conflicts:
    	Zend/zend_execute.c
    laruence authored
  3. Xinchen Hui

    Fixed Bug #62005 (unexpected behavior when incrementally assigning to…

    … a member of a null object)
    laruence authored

May 11, 2012

  1. fix stack overflow in php_intlog10abs()

    bug uncovered by LLVM/clang's new -fbounds-checking switch
    this patch fixes a crash in ext/standard/tests/math/round_large_exp.phpt
    Nuno Lopes authored
  2. fix stack overflow in php_intlog10abs()

    bug uncovered by LLVM/clang's new -fbounds-checking switch
    this patch fixes a crash in ext/standard/tests/math/round_large_exp.phpt
    Nuno Lopes authored
  3. Merge branch 'master' of https://git.php.net/push/php-src

    Nuno Lopes authored
  4. fix stack overflow in php_intlog10abs()

    bug uncovered by LLVM/clang's new -fbounds-checking switch
    this patch fixes a crash in ext/standard/tests/math/round_large_exp.phpt
    Nuno Lopes authored
  5. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
    weltling authored
  6. Anatol Belski

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
    weltling authored
  7. Xinchen Hui

    Merge branch 'PHP-5.4'

    laruence authored
  8. Anatol Belski

    Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails

    This fixes a general issue. In this ticket and not for the first time
    is being seen, that people are trying to use data from "examples"
    in the tests. When extracting a test pack only "tests" and its siblings
    was taken into account. Now "examples" are copied as well.
    weltling authored
  9. Xinchen Hui

    Merge branch 'remove-useless-func-decleare' of https://github.com/ree…

    …ze/php-src into PHP-5.4
    laruence authored
  10. Reeze Xia

    Cleanup useless function declaration for traits

    reeze authored

May 10, 2012

  1. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
    weltling authored
  2. Anatol Belski

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
    weltling authored
  3. Anatol Belski

    Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails

    Exception text differ on windows
    weltling authored
  4. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      updated NEWS
    weltling authored
  5. Anatol Belski

    updated NEWS

    weltling authored
  6. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      updated NEWS
    weltling authored
  7. Anatol Belski

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      updated NEWS
    weltling authored
  8. Anatol Belski

    updated NEWS

    weltling authored
  9. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
    weltling authored
  10. Anatol Belski

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
    weltling authored
  11. Anatol Belski

    Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails

    What happens here is trivial long overflow. Despite the bug attracted
    attention on windows, the same story is on linux. Just wait for a big
    anough bucket->key . The linux test had %i to check the key value
    which should be %d all the way.
    weltling authored

May 09, 2012

  1. Anatol Belski

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
    weltling authored
  2. Anatol Belski

    Merge branch 'PHP-5.3' into PHP-5.4

    * PHP-5.3:
      Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
    weltling authored
  3. Anatol Belski

    Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails

    Another error message is produced by win specific code
    weltling authored
  4. Xinchen Hui

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Correct test title
    laruence authored
  5. Xinchen Hui

    Correct test title

    laruence authored
  6. Xinchen Hui

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Implemented FR #61977 (Need CLI web-server support for files with .htm & svg extensions)
    laruence authored
  7. Xinchen Hui

    Implemented FR #61977 (Need CLI web-server support for files with .ht…

    …m & svg extensions)
    laruence authored
  8. Xinchen Hui

    Merge branch 'PHP-5.4'

    * PHP-5.4:
      Fix test failed,  the fsockopen will be refused immediately if the server is not set up.
      - BFN
    laruence authored
  9. Xinchen Hui

    Fix test failed, the fsockopen will be refused immediately if the ser…

    …ver is not set up.
    laruence authored
  10. Felipe Pena

    - BFN

    felipensp authored
Something went wrong with that request. Please try again.