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

Typed Properties #3313

Closed
wants to merge 420 commits into from
Closed

Typed Properties #3313

wants to merge 420 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 25, 2016

  1. Reverted incomplete fix

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    03861bd View commit details
    Browse the repository at this point in the history
  2. Fixed test

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    be071cd View commit details
    Browse the repository at this point in the history
  3. A better to fix for source zval separation on type conversion caused …

    …by weak property type check.
    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    c992fcf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f4b4051 View commit details
    Browse the repository at this point in the history
  5. Revert useless changes

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    e657bf8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d46695d View commit details
    Browse the repository at this point in the history
  7. Removed duplicate code

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    a53b8ac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d248c27 View commit details
    Browse the repository at this point in the history
  9. Revert useless change

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    e1017f9 View commit details
    Browse the repository at this point in the history
  10. Added test (memory leaks)

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    291d431 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    40aa6c2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3143597 View commit details
    Browse the repository at this point in the history
  13. Optimization

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    4506a70 View commit details
    Browse the repository at this point in the history
  14. Removed unused zend_object_fetch_property_type_info() and renamed zen…

    …d_object_fetch_property_type_info_ex() into zend_object_fetch_property_type_info()
    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    05dd2e4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    023df77 View commit details
    Browse the repository at this point in the history
  16. Optimisation

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    56e2aaa View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d7f313e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    892994d View commit details
    Browse the repository at this point in the history
  19. Fixed memory leak

    dstogov committed May 25, 2016
    Configuration menu
    Copy the full SHA
    b0dcf0c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2019f66 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c304c6b View commit details
    Browse the repository at this point in the history

Commits on May 26, 2016

  1. Fixed memory leaks

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    b2cebf6 View commit details
    Browse the repository at this point in the history
  2. Faster +=/++/--

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    8bc2078 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into typed-properties

    * master:
      update NEWS
      Expose missing flags from libzip at least >= 0.11.x
      Fix typo in phpdbg help.
      Add missing newlines to phpdbg's help for the run command.
      Skip test which is 64bits only
      update NEWS
      fix test portability
      prepare for 5.6.22RC1
    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    26bf822 View commit details
    Browse the repository at this point in the history
  4. Fixed ZTS compatibility

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    865686f View commit details
    Browse the repository at this point in the history
  5. Fixed compilation warning

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    bf875fb View commit details
    Browse the repository at this point in the history
  6. fixed white-spaces

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    fc41cdc View commit details
    Browse the repository at this point in the history
  7. Optimization

    dstogov committed May 26, 2016
    Configuration menu
    Copy the full SHA
    8beea3d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    13c86d9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    697b1b1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c5e45ff View commit details
    Browse the repository at this point in the history

Commits on May 27, 2016

  1. Configuration menu
    Copy the full SHA
    6bb1fa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5811e86 View commit details
    Browse the repository at this point in the history
  3. Remove duplicate checks

    dstogov committed May 27, 2016
    Configuration menu
    Copy the full SHA
    037da58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03e7112 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2016

  1. Configuration menu
    Copy the full SHA
    cc19dc5 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2016

  1. Merge branch 'master' of https://github.com/php/php-src into typed-pr…

    …operties
    
    Conflicts:
    	Zend/zend_vm_gen.php
    krakjoe committed Jun 7, 2016
    Configuration menu
    Copy the full SHA
    3bbe52d View commit details
    Browse the repository at this point in the history
  2. changes prompted by review

    krakjoe committed Jun 7, 2016
    Configuration menu
    Copy the full SHA
    de84f50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71cda1b View commit details
    Browse the repository at this point in the history
  4. fix inheritance error

    krakjoe committed Jun 7, 2016
    Configuration menu
    Copy the full SHA
    8eec27f View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2016

  1. Configuration menu
    Copy the full SHA
    67ffff9 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2016

  1. Initial ref types patch

    Tests and functions outside ext/standard still need patching
    bwoebi committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    1b8bd88 View commit details
    Browse the repository at this point in the history
  2. Fix make test

    bwoebi committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    0efa68b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a75e03a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    433e637 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f4ea705 View commit details
    Browse the repository at this point in the history
  6. few changes for bob to check

    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    ad85b55 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'typed_ref_properties' of https://github.com/bwoebi/php-src

     into typed_ref_properties
    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    c347d8d View commit details
    Browse the repository at this point in the history
  8. more zpp changes

    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    2769866 View commit details
    Browse the repository at this point in the history
  9. finish pcntl, probably

    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    8d3a9f6 View commit details
    Browse the repository at this point in the history
  10. some of sockets

    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    d7c7b9c View commit details
    Browse the repository at this point in the history
  11. more zpppppp stuff

    krakjoe committed Nov 13, 2016
    Configuration menu
    Copy the full SHA
    cd32f63 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a0aaeed View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2016

  1. Fix a ton of bugs and tests

    bwoebi committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    93707d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2016

  1. Configuration menu
    Copy the full SHA
    bb230fd View commit details
    Browse the repository at this point in the history
  2. Fix a few more tests

    bwoebi committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    38583b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fea2aa8 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2016

  1. Configuration menu
    Copy the full SHA
    d9b964e View commit details
    Browse the repository at this point in the history
  2. Remove lchown($file, -5); test

    Some operating systems choose to return EINVAL for users (and groups) out of range (e.g. user ids must not be negative) instead of EPERM.
    This thus cannot be deterministically tested for all systems - and we are anyway already testing the branch with errno with the inexistent filename (ENOENT) - thus no problem removing it.
    bwoebi committed Nov 19, 2016
    Configuration menu
    Copy the full SHA
    0cc95b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    694752b View commit details
    Browse the repository at this point in the history
  4. Add support for by-ref foreach

    bwoebi committed Nov 19, 2016
    Configuration menu
    Copy the full SHA
    d5b3bd8 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. Configuration menu
    Copy the full SHA
    0bf02dc View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2016

  1. Configuration menu
    Copy the full SHA
    4c57735 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2016

  1. Configuration menu
    Copy the full SHA
    786d4bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9b0cd7 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2017

  1. Configuration menu
    Copy the full SHA
    41d3882 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e9d02e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2017

  1. Configuration menu
    Copy the full SHA
    f56bd39 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2017

  1. Configuration menu
    Copy the full SHA
    354c1af View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2017

  1. Merge branch 'master' into typed_ref_properties

    * master: (42 commits)
      Increase wait time for tests involving sockets to improve Travis relability
      Remove redundant reference handling
      Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)
      update NEWS
      Fixed #72898 PHP_FCGI_CHILDREN is not included in phpinfo()
      Fix memory error in reflection export
      Fix bug #69899
      update NEWS
      Fixed bug #73374
      Fixed bug #73904 php-cgi fails to load -c specified php.ini file
      Fixed bug #73904 php-cgi fails to load -c specified php.ini file
      Fixed bug #72680 gdbinit print_cvs not prepared for PHP 7
      Update to SQLite 3.16.2
      added a note to opache.fast_shutdown why its not enabled by default in php.ini
      Fixed bug #71219 configure script incorrectly checks for ttyname_r
      Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
      Add support for "xfail" to phpt SKIPIF sections
      Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
      Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
      Fix glob-wrapper.phpt to not fail in Windows
      ...
    dstogov committed Jan 13, 2017
    Configuration menu
    Copy the full SHA
    69c7210 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2017

  1. Configuration menu
    Copy the full SHA
    f2872c9 View commit details
    Browse the repository at this point in the history
  2. Fix crash in pcntl_wait()

    bwoebi committed Jan 15, 2017
    Configuration menu
    Copy the full SHA
    e20a1a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2017

  1. Merge branch 'master' into typed_ref_properties

    * master:
      Fix bug #73634 - grapheme_strpos illegal memory access
      Fix typo
      Fix bug #73939 memory allocation in signal handler when HAVE_STRUCT_SIGINFO_T
      Add test ini_set with invalid time zone
      Fix test
      Update more functions with path check
      move some var declarations to the top for better grouping
      fix AppVeyor failures with Opcache enabled
      Fix small mistake in generator creation introduced in 9a159f3
      Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
      Fix segfault in `pcntl_signal_handler` (bug #73939)
    dstogov committed Jan 16, 2017
    Configuration menu
    Copy the full SHA
    b021ec8 View commit details
    Browse the repository at this point in the history
  2. Fix constant value overwrite

    bwoebi committed Jan 16, 2017
    Configuration menu
    Copy the full SHA
    629521e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78dae20 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2018

  1. Configuration menu
    Copy the full SHA
    bafcfc0 View commit details
    Browse the repository at this point in the history
  2. Fix build failures

    nikic committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    965f2c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f42495d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2018

  1. Configuration menu
    Copy the full SHA
    ed00f11 View commit details
    Browse the repository at this point in the history
  2. Fix few tests

    bwoebi committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    6709fbb View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2018

  1. Configuration menu
    Copy the full SHA
    f55663f View commit details
    Browse the repository at this point in the history
  2. Opcache fixes

    bwoebi committed Jun 8, 2018
    Configuration menu
    Copy the full SHA
    6d0c443 View commit details
    Browse the repository at this point in the history
  3. Fix build failure in exif

    bwoebi committed Jun 8, 2018
    Configuration menu
    Copy the full SHA
    c453c98 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64a309f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    98019a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2018

  1. Configuration menu
    Copy the full SHA
    e74f89c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83ec0df View commit details
    Browse the repository at this point in the history
  3. Adjust test with new behavior

    The reference is no longer modified, so no problems. Any necessary
    type check would occur in the write_property part.
    nikic committed Jun 9, 2018
    Configuration menu
    Copy the full SHA
    7f59681 View commit details
    Browse the repository at this point in the history
  4. Fix compiler warning

    nikic committed Jun 9, 2018
    Configuration menu
    Copy the full SHA
    1b0bc33 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcba7fe View commit details
    Browse the repository at this point in the history
  6. Improve default value handling

     * Don't allow null for callable, consistent with everything else.
       Previously null was allowed as default value, but not at runtime...
     * Allow arrays as default for iterable.
     * Print friendlier error message when using null default value,
       suggesting to use ?Type.
    nikic committed Jun 9, 2018
    Configuration menu
    Copy the full SHA
    2e28eb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4473554 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4ef0626 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14081d8 View commit details
    Browse the repository at this point in the history
  10. Fix ASSIGN_OBJ_REF implementation

    Line up logic with ASSIGN_REF, fixing various discrepancies.
    nikic committed Jun 9, 2018
    Configuration menu
    Copy the full SHA
    cb75a25 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Don't automatically initialize nullable prop to null

    Handle them consistently with other types and initialize to
    "uninitialized", unless a default value is explicitly given.
    nikic committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    3021bbc View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Configuration menu
    Copy the full SHA
    230142e View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2018

  1. Configuration menu
    Copy the full SHA
    b3da284 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'typed_ref_properties' of https://github.com/bwoebi/php-src

     into typed_ref_properties
    bwoebi committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    b707745 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Configuration menu
    Copy the full SHA
    759d078 View commit details
    Browse the repository at this point in the history
  2. Fix assign to typed ref with weak type conversion

    Thanks to @nikic for the test
    bwoebi committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    ea58600 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    149fd4b View commit details
    Browse the repository at this point in the history
  4. Fix remaining tests

    bwoebi committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    bb0e169 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Fixing conversion with __get() on uninit typed properties

    Thanks @nikic for the first test
    bwoebi committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    ddfa19d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e23778 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fffb439 View commit details
    Browse the repository at this point in the history
  4. Property compute intersection types for $obj->prop =& $ref

    Test currently fails due to unrelated leaks.
    nikic committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    17bdcef View commit details
    Browse the repository at this point in the history
  5. Add missing test file...

    nikic committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    40079bf View commit details
    Browse the repository at this point in the history
  6. Fix leak

    nikic committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    bc900ea View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2018

  1. Configuration menu
    Copy the full SHA
    a450c28 View commit details
    Browse the repository at this point in the history
  2. Drop overeager assert

    Function may be used in cases where types are not set.
    nikic committed Jun 16, 2018
    Configuration menu
    Copy the full SHA
    ebb64ae View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2018

  1. Configuration menu
    Copy the full SHA
    7c96afa View commit details
    Browse the repository at this point in the history
  2. Use coercive mode for setStaticPropertyValue()

    This is consistent with behavior of ReflectionProperty::setValue() and all other internal function calling
    bwoebi committed Jun 17, 2018
    Configuration menu
    Copy the full SHA
    10ac526 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2018

  1. Keep track of reference types

    bwoebi committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    452d0a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. Configuration menu
    Copy the full SHA
    0023518 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c69f8d0 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2018

  1. extract() must check typed refs when overwriting

    Thanks @nikic for testing this
    bwoebi committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    f00a4df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1228d70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    440a78a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6f5f13 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. Configuration menu
    Copy the full SHA
    df4460e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    693a603 View commit details
    Browse the repository at this point in the history
  3. Make ZEND_TRY_ASSIGN_* implementation less magic

    Should also fix the windows build.
    nikic committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    2d47e84 View commit details
    Browse the repository at this point in the history
  4. Unmangle property name before printing

    We could also use the name from op1 (what we do for non-static
    properties), but as it is conditionally fetched, just unmangling
    the name is simpler.
    nikic committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    f6ad85f View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2018

  1. Configuration menu
    Copy the full SHA
    898cd3d View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2018

  1. Configuration menu
    Copy the full SHA
    5ce6ebc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    767b2e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13eba68 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

  1. Configuration menu
    Copy the full SHA
    a3f60c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a19b2cc View commit details
    Browse the repository at this point in the history
  3. Reduce ASSIGN_STATIC_PROP_REF specialization

    This operation should be very rare... At least drop the OP_DATA
    specialization.
    nikic committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    062de9d View commit details
    Browse the repository at this point in the history
  4. Accept BP type in get_static_property

    And move the initialization check in there, so it's automatically
    handled everywhere using this function.
    nikic committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    c91ea15 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2018

  1. Configuration menu
    Copy the full SHA
    50b1cf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ce995d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc88db9 View commit details
    Browse the repository at this point in the history
  4. Restore fast-path check for uninitialized static property

    It's not sufficient to check on the slow-path only, as opcache
    may combine cache entries.
    nikic committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    406d594 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2018

  1. Configuration menu
    Copy the full SHA
    561f868 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    157a09d View commit details
    Browse the repository at this point in the history
  3. Minor cleanups

    nikic committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    04aaea8 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2018

  1. Configuration menu
    Copy the full SHA
    e8dc511 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2018

  1. Fix ReflectionProperty::isInitialized() for dynamic props

    A dynamic properties may exist at time of ReflectionProperty
    instantiation but be unset later, so we cannot short-circuit.
    nikic committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    ef67def View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    050f642 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d3768b View commit details
    Browse the repository at this point in the history
  4. Fix class check

    nikic committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8355232 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    13777bd View commit details
    Browse the repository at this point in the history
  6. Fix a last test

    bwoebi committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    428a00f View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. Remove 't' zpp type

    The 't' type will not be usable by extensions.
    
    Replace it with zend_try_array_init(_size) functions.
    nikic committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    e888cf1 View commit details
    Browse the repository at this point in the history
  2. Drop ARRAY_ASSIGNABLE as well

    nikic committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    d35b338 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2018

  1. Configuration menu
    Copy the full SHA
    dee7710 View commit details
    Browse the repository at this point in the history
  2. Abort early on exception in extract()

    In line with upstream. Also remove silent parameter from
    zend_try_assign_ex().
    nikic committed Jul 4, 2018
    Configuration menu
    Copy the full SHA
    3bfbbf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acd013c View commit details
    Browse the repository at this point in the history
  4. Don't constrain type intersections

    This allows intersecting ?int and ?string with value null, and is
    conceptually forward-compatible with union types, at which point we
    must deal with the problem of conflicting coercive types anyway.
    Implemented in a way that only performs type coercion (if necessary)
    once.
    nikic committed Jul 4, 2018
    Configuration menu
    Copy the full SHA
    a10222e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2018

  1. Configuration menu
    Copy the full SHA
    2eadd9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae8a198 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    eda393b View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2018

  1. Configuration menu
    Copy the full SHA
    1f73729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f25e95 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2018

  1. Configuration menu
    Copy the full SHA
    398027b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7b86fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92302a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2018

  1. Configuration menu
    Copy the full SHA
    ffbf025 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Fix string length updates

    bwoebi committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    5e2ebdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c94955 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae3e788 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    872084b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. Configuration menu
    Copy the full SHA
    c6310fb View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Configuration menu
    Copy the full SHA
    a7fc684 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2018

  1. Configuration menu
    Copy the full SHA
    4f2350e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d579d0 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary EXPECTFs

    nikic committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    5ba37d8 View commit details
    Browse the repository at this point in the history
  4. One more EXPECTF case

    nikic committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    aa9a8dd View commit details
    Browse the repository at this point in the history
  5. Use seen_prop when reporting weak type error

    Doesn't really matter (just a different "equivalent" property used
    for the report), but that's what was intended here...
    nikic committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    8e0380b View commit details
    Browse the repository at this point in the history
  6. Add test for settype() on typed reference

    Apparently I did not git add this file.
    nikic committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    f1a2522 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f235d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2018

  1. Minor test improvements

    Remove some duplicate tests, unnecessary catches, fix typos, etc.
    nikic committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    8df6714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96ea906 View commit details
    Browse the repository at this point in the history
  3. Restore old zend_binary_assign_op_obj_dim code

    Remove the special treatment of references.
    nikic committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    494585f View commit details
    Browse the repository at this point in the history
  4. Revert some unnecessary changes

    nikic committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    e8cf005 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. Change zend_declare_typed_property to accept zend_type

    Also cleanup zend_compile_assign_ref
    bwoebi committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    c44eba9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7424833 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa769fb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eff6b11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1147467 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    236a72f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f697a7b View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. Evaluate expressions involving constants in property initializers acc…

    …ording to strict_types of the class containing file
    
    This ensures consistency with function default values, while not introducing a disparity between compile and run-time evaluation of initializers (i.e. preventing ordering dependent outcomes).
    bwoebi committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    f2d72b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c78d5f6 View commit details
    Browse the repository at this point in the history
  3. Enforce strict types for property initializer evaluation

    Revert "Evaluate expressions involving constants in property initializers according to strict_types of the class containing file"
    
    This reverts commit f2d72b9.
    bwoebi committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    ce68539 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2018

  1. Remove REF flag from ASSIGN_(OBJ|STATIC_PROP)_REF

    This flag is not used and clashes with RETURNS_FUNCTION.
    nikic committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    68abea6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1508f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64c7ca8 View commit details
    Browse the repository at this point in the history
  4. Don't return pointer to stack memory

    Normalize to variable_ptr rather than value to make lifetime requirement
    more obvious. We can't return "value" directly if it had to be coerced.
    nikic committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    fe4f9f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ccf4481 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2018

  1. Configuration menu
    Copy the full SHA
    7a91259 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    313590d View commit details
    Browse the repository at this point in the history
  3. Remove unused enum

    nikic committed Sep 28, 2018
    Configuration menu
    Copy the full SHA
    98b8e8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f9eac9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2018

  1. Configuration menu
    Copy the full SHA
    b8881f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de9a77f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7e6099 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ca4996 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2018

  1. Configuration menu
    Copy the full SHA
    3e7ecb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23b1d0a View commit details
    Browse the repository at this point in the history
  3. Fix tests for master changes

    nikic committed Sep 30, 2018
    Configuration menu
    Copy the full SHA
    f1e09b3 View commit details
    Browse the repository at this point in the history
  4. Fix cache slot invalidation

    nikic committed Sep 30, 2018
    Configuration menu
    Copy the full SHA
    02f3baa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c38032a View commit details
    Browse the repository at this point in the history
  6. 4 Configuration menu
    Copy the full SHA
    1d555b7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db13ac3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a119939 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Configuration menu
    Copy the full SHA
    f6209ee View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. Merge branch 'master' into typed_ref_properties

    * master:
      Rename ZEND_ACC_NO_RT_ARENA into ZEND_ACC_HEAP_RT_CACHE and use it for pseudo-main op_arrays.
      Allocate only necessary space for static properties of internal classes in ZTS mode.
      Turn accel_activate into module callback.
      Bump phpdbg version to PHP_VERSION
      Get rid of accel_deactivate() calback
      Fix the deplister rule to not ignore the .c file (Anatol)
      Update .gitignore to include the Windows deplister program (win32/build/deplister.c)
      Bug > Feature Request
      NEWS and UPGRADING
      Fixed bug #75479
      Fix test
      Remove dead code (only IS_ARRAY may relive zendi_convert_scalar_to_number()), and micro-optimization.
      Removing last unused
      Last few changes : 	. force the nls_date_format 	. add the scale to the return of the function 	. add tests on some function return 	. removing unused variables
      cs
      Changes : . Add the distinction between NUMBER and FLOAT types . Changing BFLOAT text to be BINARY_FLOAT . Changing BDOUBLE text to be BINARY_DOUBLE . Add the data types names for NCHAR, NVARCHAR and NCLOB . Few changes in the tests
      fixing comments
      Update oci_statement.c
      Add the PDOStatement::getColumnMeta() function to the pdo_oci driver
    dstogov committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    5ae9a3f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into typed_ref_properties

    * master:
      Make ZEND_ACC_IMMUTABLE and ZEND_ACC_HAS_TYPE_HINTS to be common (for functions and classes)
    dstogov committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    911e7c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2018

  1. Fix test

    bwoebi committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    d274d58 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Configuration menu
    Copy the full SHA
    d34cddc View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2018

  1. Configuration menu
    Copy the full SHA
    10151f1 View commit details
    Browse the repository at this point in the history
  2. Some opcache fixes

    Avoid writes into SHM memory. Some more work is needed for full
    support, e.g. we should try to resolve the types at least when
    preloading.
    nikic committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    e231c31 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2019

  1. Configuration menu
    Copy the full SHA
    18fe3b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21e405a View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2019

  1. Check for type violations through implicit object init

    This is still missing handling for the reference case
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    6a27224 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25a517c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cca6c1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    373579c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    834c8d0 View commit details
    Browse the repository at this point in the history
  6. Improve auto-initialization related error messages

    Also add a zend_format_type helper to unify type formatting.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    92cfec9 View commit details
    Browse the repository at this point in the history
  7. Extract auto-init errors into cold helpers

    Also fixing a typo in one of the many cases where this was copy&pasted.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    ac1ac47 View commit details
    Browse the repository at this point in the history
  8. Remove hardcoded path in test

    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    0311fc5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6574e7f View commit details
    Browse the repository at this point in the history
  10. Fix static prop ref sources memory leak under opcache

    We also have to remove ref sources for the immutable class case.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    d44a513 View commit details
    Browse the repository at this point in the history
  11. Fix fastcall use on Windows

    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    f95ef9c View commit details
    Browse the repository at this point in the history
  12. Test tweaks

    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    c0f7ab6 View commit details
    Browse the repository at this point in the history
  13. Remove unnecessary flag handling in compact_literals

    ASSIGN_* does not use obj flags.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    3cdaf71 View commit details
    Browse the repository at this point in the history
  14. Remove unnecessary result undefing

    This is handled by the calling code in this case.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    eec91a2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4efefc3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f6257b7 View commit details
    Browse the repository at this point in the history
  17. Start working on inference support for typed static props

    Also fix a bug in inference for object properties: We must check
    that it's a non-static property, otherwise null becomes an additional
    valid return value.
    nikic committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    f28943c View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. Configuration menu
    Copy the full SHA
    4910f1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78acbd7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7430115 View commit details
    Browse the repository at this point in the history
  4. Remove dead code

    nikic committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    c5d916f View commit details
    Browse the repository at this point in the history
  5. Convert if/else to switch

    Based on reviewer comment.
    nikic committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    8b71442 View commit details
    Browse the repository at this point in the history
  6. Revert "Remove lchown($file, -5); test"

    This reverts commit 0cc95b8.
    
    This has already been fixed in a different way in
    3b830cf and is unrelated to
    typed properties...
    nikic committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    401ff4c View commit details
    Browse the repository at this point in the history
  7. Allow references to typed properties during unserialization

    Still needs more work to make the assignment successful in more
    cases.
    nikic committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    dbf7d82 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b1df1b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2019

  1. Configuration menu
    Copy the full SHA
    bac5425 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    882aaba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9788344 View commit details
    Browse the repository at this point in the history
  4. Add slot to prop info mapping mechanism

    Taken from PR php#3573, minus the foreach/iteration parts.
    nikic committed Jan 7, 2019
    Configuration menu
    Copy the full SHA
    c89b5ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40540b7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9360955 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5f7d376 View commit details
    Browse the repository at this point in the history