mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 23:51:51 +00:00
Update links to old Github repo
This commit is contained in:
parent
54fd987b0c
commit
fa613c5cb2
@ -72,7 +72,7 @@ with (compared to gcc).
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd /tmp
|
cd /tmp
|
||||||
git clone https://github.com/preillyme/v8js.git
|
git clone https://github.com/phpv8/v8js.git
|
||||||
cd v8js
|
cd v8js
|
||||||
phpize
|
phpize
|
||||||
./configure CXXFLAGS="-Wno-c++11-narrowing"
|
./configure CXXFLAGS="-Wno-c++11-narrowing"
|
||||||
|
@ -3,15 +3,15 @@ V8Js
|
|||||||
|
|
||||||
[![Build Status](https://travis-ci.org/phpv8/v8js.svg?branch=php7)](https://travis-ci.org/phpv8/v8js)
|
[![Build Status](https://travis-ci.org/phpv8/v8js.svg?branch=php7)](https://travis-ci.org/phpv8/v8js)
|
||||||
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/gr8fkq8c08s06h31/branch/php7?svg=true)](https://ci.appveyor.com/project/stesie/v8js)
|
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/gr8fkq8c08s06h31/branch/php7?svg=true)](https://ci.appveyor.com/project/stesie/v8js)
|
||||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/preillyme/v8js/master/LICENSE)
|
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/phpv8/v8js/master/LICENSE)
|
||||||
[![Join the chat at https://gitter.im/preillyme/v8js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/preillyme/v8js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/phpv8/v8js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/phpv8/v8js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
V8Js is a PHP extension for Google's V8 Javascript engine.
|
V8Js is a PHP extension for Google's V8 Javascript engine.
|
||||||
|
|
||||||
The extension allows you to execute Javascript code in a secure sandbox from PHP. The executed code can be restricted using a time limit and/or memory limit. This provides the possibility to execute untrusted code with confidence.
|
The extension allows you to execute Javascript code in a secure sandbox from PHP. The executed code can be restricted using a time limit and/or memory limit. This provides the possibility to execute untrusted code with confidence.
|
||||||
|
|
||||||
**This is the PHP 7 branch of V8Js**, it requires PHP 7 and does *not* compile against PHP 5.x versions.
|
**This is the PHP 7 branch of V8Js**, it requires PHP 7 and does *not* compile against PHP 5.x versions.
|
||||||
If you're running PHP 5.x, see the [master branch](https://github.com/preillyme/v8js/tree/master)
|
If you're running PHP 5.x, see the [master branch](https://github.com/phpv8/v8js/tree/master)
|
||||||
of this repository.
|
of this repository.
|
||||||
|
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ static void v8js_construct_callback(const v8::FunctionCallbackInfo<v8::Value>& i
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Increase the reference count of this value because we're storing it internally for use later
|
// Increase the reference count of this value because we're storing it internally for use later
|
||||||
// See https://github.com/preillyme/v8js/issues/6
|
// See https://github.com/phpv8/v8js/issues/6
|
||||||
Z_ADDREF_P(&value);
|
Z_ADDREF_P(&value);
|
||||||
} else {
|
} else {
|
||||||
// Object created from JavaScript context. Need to create PHP object first.
|
// Object created from JavaScript context. Need to create PHP object first.
|
||||||
|
Loading…
Reference in New Issue
Block a user