ID: 12144
Updated by: nohn
Old Summary: Error in execution operator (`dir .\*.*`)
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproducible crash
Operating System: Windows NT Server 4
PHP Version: 4.0.6
New Comment:

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 ;)


Previous Comments:
------------------------------------------------------------------------

[2001-08-19 23:55:21] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

What do you mean by 'crash' here? Does it output any 
error messages?


------------------------------------------------------------------------

[2001-07-13 11:18:23] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to