#32215 [Opn->Fbk]: Java Crash
ID: 32215
Updated by: derick@php.net
Reported By: albaity at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Java related
Operating System: Win XP Pro
PHP Version: 5.0.3
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-03-07 10:43:55] albaity at hotmail dot com
Description:
------------
try this code on 4.3.10 is work :
<?php
// get instance of Java class java.lang.System in PHP
$system = new Java('java.lang.System');
// demonstrate property access
print 'Java version='.$system->getProperty('java.version').'
<br>';
print 'Java vendor=' .$system->getProperty('java.vendor').'
<br>';
print 'OS='.$system->getProperty('os.name').' '.
$system->getProperty('os.version').' on '.
$system->getProperty('os.arch').' <br>';
// java.util.Date example
$formatter = new Java('java.text.SimpleDateFormat',
"EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");
print $formatter->format(new Java('java.util.Date'));
?>
but with php5.0.3 is not work .
Reproduce code:
---------------
windows give me 2 message to terminate program because of memory crash
.
Expected result:
----------------
give me the date
Actual result:
--------------
nothing CGI HEADERS NOT SEND IIS 5.5
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32215&edit=1
Thread (5 messages)