Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - christopol

Pages: [1]
1
Suggestions and Requests / Re: PHP Pre-reqs
« on: March 17, 2004, 05:00:06 am »
Just a note to renew my interest in a PHP factory.

2
Suggestions and Requests / Re: PHP Pre-reqs
« on: March 15, 2004, 11:22:29 pm »
I'm not talking about *by-reference parameter* support, but about *by-reference return* support.

Do you see what I mean ?

function & foo () {
       // Find something
       return $something
}

$something is returned by reference.

The problem is that in EA, the program will take the "&" as the name of the function.

In your code-parsing functions, just maintain the "&", and it'l be a good first step.  (Then again, I'd like a build where you put & all the time).  It's all explained concisely here:
http://www.php.net/manual/en/language.references.php

3
Suggestions and Requests / PHP Pre-reqs
« on: March 15, 2004, 04:58:38 am »
I'd buy this project for my PHP developpement if :

(1) EA Architect could deal with
function & foo () {
syntaxe (returning by references).
(I think function foo (&$var) is ok)

(2) EA Archetect could interprete and produce
/**
 * @var type $name description of $name
**/
 var $name;
syntaxe as in PhpDocumentor
( ditto for :
 * @param type $name description of $name
and
 * @return type description of $return


4
I just posted a topic "PHP Pre-reqs" with some stuff that is necessary before I can trust EA with my PHP code, namly in typing and references, where UML can bring more value-added.

Pages: [1]