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: Training-Datasmith/phpdotenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: phpdotenv/phpdotenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 17 commits
  • 35 files changed
  • 2 contributors

Commits on Jul 6, 2026

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

Commits on Aug 23, 2026

  1. Configuration menu
    Copy the full SHA
    65f931f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25ad1e5 View commit details
    Browse the repository at this point in the history
  3. Improve parser and loader performance (phpdotenv#600)

    * Improve loader performance
    
    * Avoid quadratic entry accumulation in the parser
    
    * Add a literal fast path to the value parser
    
    * Consume lexer tokens lazily when parsing values
    
    * Simplify splitting entries into parts
    
    * Add an ASCII fast path for name validation
    
    * Avoid closures when wrapping preg results
    
    * Tidy up doc comments
    GrahamCampbell authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    c86b8f0 View commit details
    Browse the repository at this point in the history
  4. PHP 8.6 support (phpdotenv#601)

    * Test on PHP 8.6
    
    * Update composer.json
    
    * Upgrade phpstan
    GrahamCampbell authored Aug 23, 2026
    Configuration menu
    Copy the full SHA
    1741903 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. Configuration menu
    Copy the full SHA
    7056da6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    979ef26 View commit details
    Browse the repository at this point in the history
  3. Fix memory-safety crash on invalid UTF-8 variable names (phpdotenv#602)

    * Validate variable names with the u modifier instead of the (*UTF8) verb
    
    * Add tests pinning invalid UTF-8 name rejection
    
    * Strip the export prefix and name quotes with byte operations
    GrahamCampbell authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    8bf174e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46d5ce3 View commit details
    Browse the repository at this point in the history
  5. Remove quadratic value parsing (phpdotenv#604)

    * Add a value factory for pre-computed characters and offsets
    
    * Accumulate parsed value chunks in linear time
    GrahamCampbell authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    dd5b391 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4b900c5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4f84f7e View commit details
    Browse the repository at this point in the history
  8. Improve diagnostics and messages (phpdotenv#607)

    * Cap the value context in parse error messages
    
    * Surface invalid regular expressions in allowedRegexValues
    
    * Accept encoding names case-insensitively and via aliases
    
    * Clarify the empty-file-path and repository builder messages
    
    * Escape control bytes in parse error messages
    
    * Run the test suite with the unpolyfilled mbstring functions disabled
    GrahamCampbell authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    226b4ed View commit details
    Browse the repository at this point in the history
  9. Add regression tests for existing behaviour (phpdotenv#608)

    * Fix the entry test helpers to honour the expected name
    
    * Cover interpolation following multibyte text
    
    * Cover the nested-variable anchor with a bare dollar and an escaped reference
    
    * Cover indented comments
    
    * Pin UTF-16 and UTF-32 files with a byte order mark
    
    * Strengthen the immutable load test to assert the written state
    GrahamCampbell authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    eec19ee View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4426075 View commit details
    Browse the repository at this point in the history
  11. Document the real parsing, nesting, comment, escape and validation ru…

    …les (phpdotenv#609)
    
    * Document nested variable resolution rules
    
    * Document comment and quoting behaviour
    
    * Document escape sequences in double-quoted values
    
    * Correct the loader tagline and validation examples
    
    * Document multiline values, file options and parse-versus-load
    GrahamCampbell authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    5d0bb3b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    301c079 View commit details
    Browse the repository at this point in the history
Loading