mark 3 tests as segfaulting

Esse commit está contido em:
Paul Tarjan
2013-04-24 12:14:58 -07:00
commit de Sara Golemon
commit 2589e072fb
7 arquivos alterados com 5 adições e 207 exclusões
-34
Ver Arquivo
@@ -1,34 +0,0 @@
<?php
function test1() {
var_dump(func_num_args());
}
function test2($a) {
var_dump(func_num_args());
}
function test3($a, $b) {
var_dump(func_num_args());
}
test1();
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_num_args());
}
}
test::test1(1);
var_dump(func_num_args());
echo "Done\n";
?>
-13
Ver Arquivo
@@ -1,13 +0,0 @@
int(0)
int(1)
HipHop Warning: %a
int(0)
int(2)
int(0)
HipHop Warning: %a
int(1)
int(2)
int(1)
HipHop Warning: %a
int(-1)
Done
-41
Ver Arquivo
@@ -1,41 +0,0 @@
<?php
function test1() {
var_dump(func_get_arg(-10));
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
function test2($a) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
function test3($a, $b) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
var_dump(func_get_arg(2));
}
test1();
test1(10);
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
}
test::test1(1);
var_dump(func_get_arg(1));
echo "Done\n";
?>
-45
Ver Arquivo
@@ -1,45 +0,0 @@
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
int(10)
HipHop Warning: %a
bool(false)
int(1)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
int(1)
int(2)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
int(1)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
int(1)
int(2)
HipHop Warning: %a
bool(false)
int(1)
HipHop Warning: %a
bool(false)
HipHop Warning: %a
bool(false)
Done
-35
Ver Arquivo
@@ -1,35 +0,0 @@
<?php
function test1() {
var_dump(func_get_args());
}
function test2($a) {
var_dump(func_get_args());
}
function test3($a, $b) {
var_dump(func_get_args());
}
test1();
test1(10);
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_get_args());
}
}
test::test1(1);
var_dump(func_get_args());
echo "Done\n";
?>
-39
Ver Arquivo
@@ -1,39 +0,0 @@
array(0) {
}
array(1) {
[0]=>
int(10)
}
array(1) {
[0]=>
int(1)
}
HipHop Warning: %a
array(0) {
}
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
array(0) {
}
HipHop Warning: %a
array(1) {
[0]=>
int(1)
}
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
array(1) {
[0]=>
int(1)
}
HipHop Warning: %a
bool(false)
Done
+5
Ver Arquivo
@@ -109,6 +109,11 @@ no_import = (
'session/tests/bug61728.phpt',
'session/tests/session_module_name_variation2.phpt',
# intermittent segfaults
'/Zend/tests/001.phpt',
'/Zend/tests/002.phpt',
'/Zend/tests/003.phpt',
# not imported yet, but will be
'/ext/gd',
'/ext/standard',