mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
fix test
This commit is contained in:
@@ -6,7 +6,7 @@ Bug #41815 (Concurrent read/write fails when EOF is reached)
|
||||
$filename = dirname(__FILE__)."/concur_rw.txt";
|
||||
|
||||
@unlink($filename);
|
||||
$writer = fopen($filename, "w");
|
||||
$writer = fopen($filename, "wt");
|
||||
$reader = fopen($filename, "r");
|
||||
fread($reader, 1);
|
||||
fwrite($writer, "foo");
|
||||
|
||||
@@ -3,7 +3,7 @@ Bug #37947 (zend_ptr_stack reallocation problem)
|
||||
--INI--
|
||||
error_reporting=0
|
||||
--FILE--
|
||||
<?
|
||||
<?php
|
||||
class test {
|
||||
function extend_zend_ptr_stack($count,$a,$b,$c,$d,$e) {
|
||||
if ($count>0) $this->extend_zend_ptr_stack($count -
|
||||
@@ -17,5 +17,6 @@ class test {
|
||||
|
||||
$str='a:2:{i:0;O:4:"test":0:{}junk';
|
||||
var_dump(unserialize($str));
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(false)
|
||||
|
||||
Reference in New Issue
Block a user