Login  |  Packages  |  Support  |  Bugs
Top Level :: Languages :: v8 :: 0.1.3

v8 0.1.3

Package Information
Summary V8 JavaScript engine API for PHP
Maintainers Bohdan Padalko (lead) [details]
Stefan Siegl < stesie at brokenpipe dot de > (lead) [details]
License The MIT License (MIT)
Description This extension brings V8 JavaScript engine API to PHP with some abstraction in mind and provides an accurate native V8 C++ API implementation available from PHP.
Homepage https://github.com/pinepain/php-v8
Release notes
Version 0.1.3
(stable)
This release adds low-level optimizations, simplify some internal methods and fix few bugs. For more details see
change list below.

As of this release, V8 >= 5.9.5 required.

* - BC-breaking or potentially BC-breaking changes

Changes to public API and other important changes which may affect end-user:

- * Replace V8\Isolate::GetCurrentContext with V8\Isolate::GetEnteredContext();
- * Remove V8\ObjectValue::CreationContext(), use V8\ObjectValue::GetContext();
- Add V8\PropertyCallbackInfo::ShouldThrowOnError() method;
- Add V8\FunctionCallbackInfo::NewTarget() method;
- V8\ReturnValue now explicitly holds isolate and context which could be accessed outside of calling context;
- Fix potential problems with V8\FunctionCallbackInfo and V8\PropertyCallbackInfo when used outside calling scope;
- Fix leak when V8\ScriptCompiler::CompileFunctionInContext() invoked with arguments and/or context extensions;
- Fix segfault when abruptly exiting from isolate which entered multiple time or from multiple nested isolates;
- Add V8\Exceptions\ValueException to stubs;
- Remove $global_template and $global_object private props from V8\Context.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ]

Dependencies for release 0.1.3
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks