Mailinglisten-Archive |
Peter Bieling schrieb:
> Hallo zusammen,
>
> kennt jemand eine saubere Möglichkeit, so etwas zu realisieren, ohne
> dass es in PHP4 eine Fehlermeldung gibt?
>
> if (version_compare(PHP_VERSION, "5.0.0", "<") > 0) {
> $pdfcopy = $pdf;
> } else {
> $pdfcopy = clone $pdf;
> }
$pdfcopy = clone($pdf); ?
--
Sebastian
php::bar PHP Wiki - Listenarchive