zephir

Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP

MIT License

Downloads
359.2K
Stars
3.3K
Committers
100

Bot releases are visible (Hide)

zephir - 0.11.0

Published by sergeyklay about 6 years ago

Add type hints for scalar arguments and return values in Zend Engine 3 (#1656)

zephir - 0.10.11

Published by sergeyklay about 6 years ago

  • Implementing correct casting resource to int (#1524)
  • Fixed Copy-On-Write violation for arrays/objects zvals
  • Allow extension to be loaded prior to the tests
  • Fix some testing settings
zephir - 0.10.10

Published by sergeyklay over 6 years ago

  • Expand existing lifecycle configuration support #1647
  • Fixed is_php_version function #1646
  • Fixed IDE stubs generation #1571
  • Fixed DocBlock Stubs generation #1650, phalcon/ide-stubs#9
zephir - 0.10.9

Published by sergeyklay over 6 years ago

  • Added missed ZEPHIR_CALL_CE_STATIC_ZVAL for Zend Engine 3 #1622
  • Fixed Copy-On-Write violation for arrays/objects zvals
  • Some internal improvements and code cleanup
  • Amended tests
zephir - 0.10.8

Published by sergeyklay over 6 years ago

  • Do not throw Exception when superglobal does not exist (#1623)
  • Revert 37d5b12 due to "unresolved external symbol" issue
  • Fixed setting extension globals using globals_set (#1551)
  • Fixed processing uchar globals
  • Enable tests for PHP 7.0 - 7.2 on AppVeyor
  • PSR-related fixes
zephir - 0.10.7

Published by sergeyklay almost 7 years ago

  • Fixed creating abstract instance
  • Amended prototypes
  • Don't treat numeric strings as numbers #1609
  • Fixed compiling global functions without parameters #1616
zephir - 0.10.6

Published by sergeyklay almost 7 years ago

  • concat-assign: Do not cast dynamic string variables to long #1573
  • div-assign: Support for assignment by division for variables #1573
  • mod-assign: Support for assignment by division by modulus for variables
  • ZE3: Fixed adding reference counter for scalar values
zephir - 0.10.5

Published by sergeyklay almost 7 years ago

  • Fixed creating a Variable
  • Fixed CLI help
  • Code cleanup and minor doc improvements
  • Setting up the BranchManager before SymbolTable to avoid call getCurrentBranch on null
zephir - 0.10.4

Published by sergeyklay almost 7 years ago

zephir - 0.10.3

Published by sergeyklay about 7 years ago

Changed

  • Bump minimal parser version to safe use latest parser features
  • Update AppVeyor build
  • Updated Copyright
  • Add dev version of Zephir Parser to the build matrix
zephir - 0.10.2

Published by sergeyklay about 7 years ago

Added

  • Introduced Zephir\Operators\Other\TypeHintOperator

Fixed

  • Removed $defaultValue from the Zephir\Variable constructor as not used anymore
  • Improved Utils::getFullName to prevent calling AliasManager::isAlias on possibly NULL value
  • ZE3: Fixed #1581 by adding missed zephir_bitwise_xor_function
zephir - 0.10.1

Published by sergeyklay about 7 years ago

Fixed

  • Added missed import of CompilerException
  • Fixed compilation for type casted function variables
zephir - 0.10.0

Published by sergeyklay about 7 years ago

Changed

  • Improved code quality
  • Allow install Zephir Parser on Scrutinizer
  • Refactored and improved Config class to implement ArrayAccess and JsonSerializable
  • Fully refactored Zephir\Bootstrap to reduce cyclomatic complexity and drop static calls
  • Cleaned commands and improved commands description
  • Move Zephir\CompilerException to Zephir\Compiler\CompilerException

Added

  • Introduced the Config::fromServer factory method to allow create and populate a Config instance from the $_SERVER['argv']
  • Introduced Zephir\Commands\Manager to proper and clear managing command stack
  • Introduced domain exceptions to throw more specific errors
  • Introduced Zephir\Commands\CommandInterface::getCommandsManager to allow drop any static Bootstrap calls
  • Introduced Zephir\Commands\CommandInterface::getSynopsis to provide command synopsis
  • Introduced ExceptionInterface::getExtra and ExceptionInterface::getErrorRegion to follow common interface for all Zephir exceptions:
    • ExceptionInterface::getExtra: Gets extra info.
    • ExceptionInterface::getErrorRegion: Returns the code block in which the error occurred.
  • Added Zephir\Fcall\FcallManagerInterface and Zephir\Fcall\FcallAwareInterface to introduce more common backend API
  • Added --help|-h command option to each command to provide per command help and reduce first level help

Fixed

  • Fixed CI script installer and populating CI-related cache
  • Fixed Logger' file contents cache
  • Removed unused imports

Removed

  • Removed enable_dl command option. This deprecated feature will certainly be removed in the future from PHP. Actually we no longer need this directive at all.
  • Removed safe_mode PHP option. The Safe Mode removed from PHP 5.4, and generates a fatal E_CORE_ERROR level error when enabled.
  • Removed no longer needed Zephir\FileSystem\Apc storage. APC creates a new memory pool when a CLI process is created so this adapter is useless.
  • Removed no longer used bundled parser https://github.com/phalcon/zephir/issues/1471
zephir - Release 0.9.11

Published by sergeyklay about 7 years ago

zephir - Release 0.9.10

Published by sergeyklay about 7 years ago

zephir - Release 0.9.9

Published by sergeyklay over 7 years ago

zephir - Release 0.9.8

Published by sergeyklay over 7 years ago

zephir - Release 0.9.7

Published by sergeyklay over 7 years ago

zephir - Release 0.9.6

Published by sergeyklay almost 8 years ago

zephir - Release 0.9.5

Published by sergeyklay almost 8 years ago

Package Rankings
Top 0.93% on Packagist.org
Badges
Extracted from project README
Zephir Discord Build on Linux|macOS|Windows Latest Stable Version PHP from Packagist Packagist MIT License