1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
This commit is contained in:
Antony Dovgal
2007-07-16 10:39:34 +00:00
parent 380fb68d6e
commit b28ea6b885
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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");
+2 -1
View File
@@ -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)