Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit a850b5b

Browse files
committed
Upgrade to v8 5.4.420
1 parent bb3ed92 commit a850b5b

9 files changed

+9
-14
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ env:
1717
- NO_INTERACTION=1
1818
- TEST_TIMEOUT=120
1919
matrix:
20-
- V8=5.2
21-
- V8=5.2 TEST_PHP_ARGS=-m
20+
- V8=5.4
21+
- V8=5.4 TEST_PHP_ARGS=-m
2222

2323
before_install:
2424
- sudo add-apt-repository ppa:pinepain/libv8-${V8} -y

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ you from V8 API utilizing to implement more amazing stuff.
6363

6464
### Requirements
6565

66-
You will need some fresh v8 Google JavaScript enging version installed. At this time extension tested on 5.2.371.
66+
You will need some fresh v8 Google JavaScript enging version installed. At this time extension tested on 5.4.420.
6767

68-
- For Ubuntu there are [pinepain/libv8-5.2](https://launchpad.net/~pinepain/+archive/ubuntu/libv8-5.2) PPA.
68+
- For Ubuntu there are [pinepain/libv8-5.4](https://launchpad.net/~pinepain/+archive/ubuntu/libv8-5.4) PPA.
6969
To install fresh libv8 do:
7070

7171
```
72-
$ sudo add-apt-repository ppa:pinepain/libv8-5.2 -y
72+
$ sudo add-apt-repository ppa:pinepain/libv8-5.4 -y
7373
$ sudo apt-get update -q
74-
$ sudo apt-get install -y libv8-5.2-dev
74+
$ sudo apt-get install -y libv8-5.4-dev
7575
```
7676
- For OS X there are [v8.rb](https://github.com/pinepain/php-v8/blob/master/scripts/homebrew/v8.rb) homebrew formula.
7777
To install fresh libv8 do:

tests/V8Exception_Error.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ e("test"): V8\Exceptions\TryCatchException: Error: test
9898

9999
exception: 'Error: foo'
100100
exception.stack: Error: foo
101-
at Error (native)
102101
at test.js:5:9
103102

104103
Checks on V8\ObjectValue:

tests/V8Exception_RangeError.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ e("test"): V8\Exceptions\TryCatchException: RangeError: test
9999

100100
exception: 'RangeError: foo'
101101
exception.stack: RangeError: foo
102-
at RangeError (native)
103102
at test.js:5:9
104103

105104
Checks on V8\ObjectValue:

tests/V8Exception_ReferenceError.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ e("test"): V8\Exceptions\TryCatchException: ReferenceError: test
9999

100100
exception: 'ReferenceError: foo'
101101
exception.stack: ReferenceError: foo
102-
at ReferenceError (native)
103102
at test.js:5:9
104103

105104
Checks on V8\ObjectValue:

tests/V8Exception_SyntaxError.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ e("test"): V8\Exceptions\TryCatchException: SyntaxError: test
9999

100100
exception: 'SyntaxError: foo'
101101
exception.stack: SyntaxError: foo
102-
at SyntaxError (native)
103102
at test.js:5:9
104103

105104
Checks on V8\ObjectValue:

tests/V8Exception_TypeError.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ e("test"): V8\Exceptions\TryCatchException: TypeError: test
9999

100100
exception: 'TypeError: foo'
101101
exception.stack: TypeError: foo
102-
at TypeError (native)
103102
at test.js:5:9
104103

105104
Checks on V8\ObjectValue:

tests/V8ObjectTemplate_SetCallAsFunctionHandler.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ $res1 = $script1->Run($context1);
7171
--EXPECT--
7272
typeof func: function
7373
func: function func() { [native code] }
74-
func(): [object global]
74+
func(): [object Object]
7575

7676
typeof test: function
7777
test: [object Object]

tests/V8StringValue.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ foreach (['Hello, world!', 'Привет, мир!', 'こんにちは世界'] as
9393

9494

9595
?>
96-
--EXPECT--
96+
--EXPECTF--
9797
Default constructor:
9898
--------------------
9999
object(V8\StringValue)#4 (1) {
@@ -170,7 +170,7 @@ V8\StringValue(V8\Value)->IsRegExp(): bool(false)
170170

171171
Getters:
172172
--------
173-
V8\StringValue(V8\NameValue)->GetIdentityHash(): int(1034255942)
173+
V8\StringValue(V8\NameValue)->GetIdentityHash(): int(%d)
174174
V8\StringValue->Length(): int(11)
175175
V8\StringValue->Utf8Length(): int(11)
176176
V8\StringValue->IsOneByte(): bool(true)

0 commit comments

Comments
 (0)