0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-14 17:38:42 +00:00
phpv8/tests/derived_class_properties.phpt

24 lines
407 B
Plaintext
Raw Normal View History

2013-10-18 21:57:26 +00:00
--TEST--
Test V8::executeString() : Properties on derived class
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php
class V8Wrapper extends V8Js {
public $testing;
public function __construct() {
parent::__construct();
$this->testing = 23;
}
}
$v8 = new V8Wrapper();
$v8->executeString('print("foo\n");');
?>
===EOF===
--EXPECT--
foo
===EOF===