PHP Classes

throw :

Recommend this page to a friend!

      SSH in PHP  >  All threads  >  throw :  >  (Un) Subscribe thread alerts  
Subject:throw :
Summary:getting throw : unexpected T_NEW
Author:Pedro Figueira
Date:2007-12-17 17:22:31
Update:2007-12-18 07:51:36

  1. throw :   Reply   Report abuse  
Picture of Pedro Figueira Pedro Figueira - 2007-12-17 17:22:31

First of all, thanks for this class!

I'm trying to use this version with php 4.3.9, centos 4.5 x86_64 but I'm getting an parse error in the line

throw new SSHException(...)

PHP Parse error: parse error, unexpected T_NEW in /var/www/html/ssh_in_php.php on line 40

Is this version of php supported?

Best Regards

  2. Re: throw :   Reply   Report abuse  
Picture of Martin Filip Martin Filip - 2007-12-18 07:51:36 - In reply to message 1 from Pedro Figueira

I'm sorry but this class is intended for use with PHP 5