Bug #12144 Updated: Error in execution operator (`dir .\*.*`)

From: Date: Mon, 04 Feb 2002 07:10:28 +0000
Subject: Bug #12144 Updated: Error in execution operator (`dir .\*.*`)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79039@lists.php.net to get a copy of this message
ID: 12144 Updated by: yohgaki@php.net -Summary: Error in execution operator (dir .\*.*) Reported By: andronov@ics.perm.su -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: Windows NT Server 4 PHP Version: 4.0.6 New Comment: So closed? Please reopen if problem is in 4.1.1 Previous Comments: ------------------------------------------------------------------------ [2002-01-18 01:57:15] nohn@php.net Tried to verify this bug with PHP 4.1.1. PHP did'nt crash. Uses this: <?php $m = system('dir /b .\*.php'); echo $m; ?> an this: <?php $m = 'dir /b .\*.php'; echo $m; ?> I don't think the last snippet will crash anything ;) ------------------------------------------------------------------------ [2001-08-19 23:55:21] andronov@ics.perm.su I mean the following thing: 1. Make a file "bug.php", containing lines <?php $m = dir /b .\*.php; echo $m; ?> 2. Install PHP 4.0.6 with php406-installer.exe on WinNT4 Server SP6a + IE5.5 3. Try to execute command like this: php.exe bug.php 4. I've got a message box with the title "OleMainThreadWndName: php.exe - Application Error" When I do this thing with PHP 4.0.5 everything is OK. ------------------------------------------------------------------------ [2001-08-19 04:50:22] sniper@php.net What do you mean by 'crash' here? Does it output any error messages? ------------------------------------------------------------------------ [2001-07-13 11:18:23] andronov@ics.perm.su I've installed PHP 4.0.6 with Win32 installer (php406-installer.exe). Using the following code crashes PHP: <?php $m = dir /b .\*.php; echo $m; ?> It works fine in PHP 4.0.5 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12144&edit=1

« previous php.dev (#79039) next »