Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why would anyone want to do this?

Name: Anonymous 2007-07-01 14:05 ID:+Pc6jvKe


<?php
// get instance of Java class java.lang.System in PHP
$system = new Java('java.lang.System');

// demonstrate property access
echo 'Java version=' . $system->getProperty('java.version') . '<br />';
echo 'Java vendor=' . $system->getProperty('java.vendor') . '<br />';
echo '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");

echo $formatter->format(new Java('java.util.Date'));
?>

Name: Anonymous 2007-07-02 4:17 ID:tikVL8Rz

PHP is not enterprise. It's small, simple, open source and hackish. Not enterprise.

An ENTERPRISE SOLUTION must offer the high-availability, scalable performance to suit your business needs in mission-critical applications, reducing operating costs and helping to maintain your service level agreement.

In other words, Java.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List