|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-07-13 11:18 UTC] andronov at ics dot perm dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
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.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 ;)