Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: php/php-src
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sgolemon/php-src
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: short-ternary.coalesce
Choose a head ref
  • 3 commits
  • 17 files changed
  • 1 contributor

Commits on Mar 25, 2016

  1. Implement Short Ternary Assignment operator

    Per RFC: https://wiki.php.net/rfc/short_ternary_equal_operator
    
    The following two expressions become effectively identical:
    
    $x = $x ?: $y;
    $x ?:= $y;
    sgolemon committed Mar 25, 2016
    1 Configuration menu
    Copy the full SHA
    ea87f04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3126d7 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Don't reuse indirect across VM instructions

    Slightly less efficient, but more reliable:
      * Try a RW fetch to on LHS. This will build out the container tree on the way to checking its value
      * If the var is truthy, jump ahead and everybody's happy.
      * If the var is falsy, evaluate the default expression and refetch the storage as a W fetch for assignment.
    sgolemon committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    2b8c1c5 View commit details
    Browse the repository at this point in the history
Loading