mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 00:51:51 +00:00
20 lines
345 B
Plaintext
20 lines
345 B
Plaintext
|
--TEST--
|
||
|
Test V8::executeString() : Method access on derived classes (__wakeup)
|
||
|
--SKIPIF--
|
||
|
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class Foo extends \V8Js
|
||
|
{
|
||
|
public function __wakeup()
|
||
|
{
|
||
|
var_dump("foo");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
===EOF===
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot override final method V8Js::__wakeup() in %s
|