Re: [PHP] PHP compiler - HipHop performance

2013-04-26 Thread ma...@behnke.biz
 Norah Jones nh.jone...@gmail.com hat am 26. April 2013 um 05:56 geschrieben:
 Hi,

 I have downloaded HipHop for my website, I am going through various web links
 which are suggesting that performance will improve 3-6 times. However I don't
 know the Stability of the HipHop.

 Please provide your inputs so that I can decide to use HipHop.

When I tried it I was amazed by the performance impact.

Just create yourself a PHP file that does 100.000 calculations and compare the
php execution vs. the native compiled one. That is awesome!

The drawback is, that hiphop does not support every php extension and that it
really takes some time to compile a really big framework.
If you have some code that you want to speed up and it can seperated from the
rest, then create a smaller module out of it and compile that.

Or think about creating own PECL extensions.


 Thanks,
 Norah Jones



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP compiler - HipHop performance

2013-04-25 Thread Daniel Fenn
On Fri, Apr 26, 2013 at 1:56 PM, Norah Jones nh.jone...@gmail.com wrote:

 Hi,

 I have downloaded HipHop for my website, I am going through various web
 links which are suggesting that performance will improve 3-6 times. However
 I don't know the Stability of the HipHop.

 Please provide your inputs so that I can decide to use HipHop.

 Thanks,
 Norah Jones



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




I looked into HipHop once, and I decided not to use it, I felt that there
are other ways of improving performance. Having said that, it really
depends on what your running IE wordpress, phpbb, mybb etc.

I rather install some cache plugin for wordpress and install something like
xcache but that just me though.


[PHP] PHP Compiler for .NET platform

2005-03-18 Thread Pablo Gosse
Hey folks.

Has anybody played with this the PHP compiler for .NET, Phalanger?

http://www.php-compiler.net/

I'd be interested to hear of any experiences people have had using this.

Cheers,
Pablo


--
Pablo Gosse
Webmaster, University of Northern British Columbia
250.960.5621
[EMAIL PROTECTED]
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php compiler

2005-03-15 Thread Jay Blanchard
[snip]
Sooo.. I'm assuming there's no stable project for compiling php code to 
native binary machine code huh?  (I've done some searching)  Even 
anything commercial? (I didn't care for Zend's optimizer so much.. still

has *RUN*time configuration)
[/snip]

http://www.priadoblender.com ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php compiler

2005-03-15 Thread Zac Barton
You could try this Jay (I havent used it before, has anybody?)

http://www.roadsend.com/home/index.php?SMC=1

Zac

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: 15 March 2005 11:21
To: Davy Durham; php-general@lists.php.net
Subject: RE: [PHP] php compiler


[snip]
Sooo.. I'm assuming there's no stable project for compiling php code to 
native binary machine code huh?  (I've done some searching)  Even 
anything commercial? (I didn't care for Zend's optimizer so much.. still

has *RUN*time configuration)
[/snip]

http://www.priadoblender.com ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php compiler

2005-03-15 Thread Jason Barnett
Jay Blanchard wrote:
 [snip]
 Sooo.. I'm assuming there's no stable project for compiling php code to
 native binary machine code huh?  (I've done some searching)  Even
 anything commercial? (I didn't care for Zend's optimizer so much.. still

 has *RUN*time configuration)
 [/snip]

 http://www.priadoblender.com ?

It's a little messy on Windows, or at least it was for me.  On my
Win2000 box I have had a few issues:

- The gui controls are a little buggy
- Installation led to a lot of files being installed in locations not in
my control (some of the files even were put into root!)

I really like the idea, but I'm going to hold off on using pb until it's
a bit more stable.  Besides, most of my command line scripts aren't so
intensive that I really need to compile the code into native machine code.

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHPsubmitform=Find+search+plugins


signature.asc
Description: OpenPGP digital signature


Re: [PHP] php compiler

2005-03-15 Thread Rasmus Lerdorf
Jason Barnett wrote:
Jay Blanchard wrote:
[snip]
Sooo.. I'm assuming there's no stable project for compiling php code to
native binary machine code huh?  (I've done some searching)  Even
anything commercial? (I didn't care for Zend's optimizer so much.. still
has *RUN*time configuration)
[/snip]
http://www.priadoblender.com ?
It's a little messy on Windows, or at least it was for me.  On my
Win2000 box I have had a few issues:
- The gui controls are a little buggy
- Installation led to a lot of files being installed in locations not in
my control (some of the files even were put into root!)
I really like the idea, but I'm going to hold off on using pb until it's
a bit more stable.  Besides, most of my command line scripts aren't so
intensive that I really need to compile the code into native machine code.
In the end you are probably much better off learning a bit of C or C++ 
and writing your own PHP extensions than hoping that someone will make a 
compiler that will magically speed everything up.  PHP was designed 
specifically with this in mind.  The idea is to keep things that don't 
need native code performance in easy to modify interpreted files while 
performance-sensitive code is written in fast native code.

That is, if you have a script that queries a database and outputs some 
HTML, whether you send that SQL query and print the resulting strings 
from PHP or native code is not going to matter one bit.  Your bottleneck 
is going to be building the query, connecting to the database server, 
the database server chewing on the query and sending the results back 
over the wire and your application reading that socket and deciphering 
the results.  All those bits are written in C.  It would be crazy to try 
to implement the MySQL extension or MySQL itself in user-space PHP.  It 
could be done of course, but when you build something you identify the 
performance-critical bits of code and you write those bits natively.

We are at the point where most people don't need to write any C code to 
write fast PHP applications because other people have already written 
the native extensions you need.  But high-traffic sites or sites that 
need a lot of iterative logic should try profiling their code to see 
where the bottlenecks are and replace the critical bits with a native 
extension.  That is likely going to give you an order of magnitude 
better performance than any PHP Compiler ever will.  And it really 
isn't that hard to write a PHP extension.

-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2005-03-15 Thread Manuel Lemos
Hello,
on 03/15/2005 03:05 AM Warren Vail said the following:
I could be wrong, but I believe that all the Java apps out there are not
native binary machine code either?  unless you count the JRE (Java Runtime
Environment).  Seems to me that is the way things are today, with JRE's all
having run time configuration.  I would prefer to PHP to Java any day.
Have you checked out the Road Send compiler?  http://www.roadsend.com/  I
don't believe it produces pure native binary either, but I could be wrong
here as well.
It generates a binary that depends only on runtime library provided by 
Roadsend, which according to them does not use absolutely any code from 
the Zend engine.

--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] php compiler

2005-03-14 Thread Davy Durham
Sooo.. I'm assuming there's no stable project for compiling php code to 
native binary machine code huh?  (I've done some searching)  Even 
anything commercial? (I didn't care for Zend's optimizer so much.. still 
has *RUN*time configuration)

Thanks,
 Davy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] php compiler

2005-03-14 Thread Warren Vail
I could be wrong, but I believe that all the Java apps out there are not
native binary machine code either?  unless you count the JRE (Java Runtime
Environment).  Seems to me that is the way things are today, with JRE's all
having run time configuration.  I would prefer to PHP to Java any day.

Have you checked out the Road Send compiler?  http://www.roadsend.com/  I
don't believe it produces pure native binary either, but I could be wrong
here as well.

good luck,

Warren Vail

 -Original Message-
 From: Davy Durham [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 14, 2005 9:22 PM
 To: php-general@lists.php.net
 Subject: [PHP] php compiler


 Sooo.. I'm assuming there's no stable project for compiling php code to
 native binary machine code huh?  (I've done some searching)  Even
 anything commercial? (I didn't care for Zend's optimizer so much.. still
 has *RUN*time configuration)

 Thanks,
   Davy

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php compiler

2004-11-01 Thread Hodicska Gergely
 I kind of hinted in my earlier what is going on but:
   $a = 1  $b = 0;
 Is first silently evaluated as:
   $a = (1  $b = 0);
thx your answer, just one more little thing...
 So the right expression is tested which happens to be ($b = 0).
...why ($b = 0) is on the right side, not only $b.
Felho
u.i. Is there any information, why PHP was implemented this way?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-31 Thread Hodicska Gergely
Hi!
 I think the precedence of left and right associative operands can't
be  compared. The switch between associativities already separates the
 expression (if it could be explained this way).
Yes, this behaviour confused me. This is not common in other programming
languages:
o  C : invalid lvalue in assignment
o  Java  : required: variable
   found   : value
o  JavaScript: invalid assignment left-hand side (Mozilla)
   syntax  error (Internet explorer)
But for me it isn't egxactly clear how the evaluation order was
calculated (why doesn't the first = operator executed before ). Does
anybody know for example a flowchart, how it is implemented in PHP?
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-31 Thread Curt Zirzow
* Thus wrote Hodicska Gergely:
 Hi!
 
  I think the precedence of left and right associative operands can't
 be  compared. The switch between associativities already separates the
  expression (if it could be explained this way).
 
 Yes, this behaviour confused me. This is not common in other programming
 languages:
 o  C : invalid lvalue in assignment
 o  Java  : required: variable
found   : value
 o  JavaScript: invalid assignment left-hand side (Mozilla)
syntax  error (Internet explorer)
 
 But for me it isn't egxactly clear how the evaluation order was
 calculated (why doesn't the first = operator executed before ). Does
 anybody know for example a flowchart, how it is implemented in PHP?

I kind of hinted in my earlier what is going on but:

  $a = 1  $b = 0;

Is first silently evaluated as:

  $a = (1  $b = 0);

Now we test the left and right expressions of .  The left
expression is true. So the right expression is tested which
happens to be ($b = 0).


Curt
-- 
Quoth the Raven, Nevermore.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php compiler

2004-10-30 Thread Hodicska Gergely
Hi!
$a = 0;
$b = 1;
if ($a = 1  $b = 0) {
echo 'true ';
var_dump($a);
var_dump($b);
} else {
echo 'false ';
var_dump($a);
var_dump($b);
}
Runing this we get: true bool(false) int(0)
After the precedence table the first step could be evaluating the , 
but not this is what happen.

Can someone exactly explain how PHP process the condition?
THX in advance,
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] php compiler

2004-10-30 Thread Mike
You're assigning values in your test.

Use == instead of = in the if condition.

=M

-Original Message-
From: Hodicska Gergely [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 30, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php compiler

Hi!

$a = 0;
$b = 1;
if ($a = 1  $b = 0) {
echo 'true ';
var_dump($a);
var_dump($b);
} else {
echo 'false ';
var_dump($a);
var_dump($b);
}

Runing this we get: true bool(false) int(0)

After the precedence table the first step could be evaluating the , 
but not this is what happen.

Can someone exactly explain how PHP process the condition?

THX in advance,
Felho

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php compiler

2004-10-30 Thread Klaus Reimer
Hodicska Gergely wrote:
$a = 0;
$b = 1;
if ($a = 1  $b = 0) {
echo 'true ';
var_dump($a);
var_dump($b);
} else {
echo 'false ';
var_dump($a);
var_dump($b);
}
Runing this we get: true bool(false) int(0)
Are you sure you posted the example correctly? It outputs this: false 
bool(false) int(0)

And this output is absolutely correct. Your condition gives new values 
to $a and $b because you use = and not ==. So you do this:

$b = 0;
$a = 1  $b;
The condition checks the value of $a (which is false) and so you land in 
the else branch and that's why $b is int(0) and $a is bool(false)

I think you want this:
if ($a == 1  $b == 0)
--
Bye, K http://www.ailis.de/~k/ (FidoNet: 2:240/2188.18)
[A735 47EC D87B 1F15 C1E9  53D3 AA03 6173 A723 E391]
(Finger [EMAIL PROTECTED] to get public key)


signature.asc
Description: OpenPGP digital signature


Re: [PHP] php compiler

2004-10-30 Thread Marek Kilimajer
Mike wrote:
You're assigning values in your test.
Use == instead of = in the if condition.
hmm, but he should not get what he gets anyways:
$a = 1 - evaluates to true, continue
$b = 0 - evaluates to false, so the whole if() condition is false, jump 
to else and print:

false
1
0
He gets:
true
false
0
I get (php-5.0.2):
false
false
0
Or am I missing something?
=M
-Original Message-
From: Hodicska Gergely [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 30, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php compiler

Hi!
$a = 0;
$b = 1;
if ($a = 1  $b = 0) {
echo 'true ';
var_dump($a);
var_dump($b);
} else {
echo 'false ';
var_dump($a);
var_dump($b);
}
Runing this we get: true bool(false) int(0)
After the precedence table the first step could be evaluating the , 
but not this is what happen.

Can someone exactly explain how PHP process the condition?
THX in advance,
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Marek Kilimajer
Marek Kilimajer wrote:
Mike wrote:
You're assigning values in your test.
Use == instead of = in the if condition.
hmm, but he should not get what he gets anyways:
$a = 1 - evaluates to true, continue
$b = 0 - evaluates to false, so the whole if() condition is false, jump 
to else and print:
ok, precedence :)
false
1
0
He gets:
true
false
0
I get (php-5.0.2):
false
false
0
Or am I missing something?
=M
-Original Message-
From: Hodicska Gergely [mailto:[EMAIL PROTECTED] Sent: 
Saturday, October 30, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php compiler

Hi!
$a = 0;
$b = 1;
if ($a = 1  $b = 0) {
echo 'true ';
var_dump($a);
var_dump($b);
} else {
echo 'false ';
var_dump($a);
var_dump($b);
}
Runing this we get: true bool(false) int(0)
After the precedence table the first step could be evaluating the , 
but not this is what happen.

Can someone exactly explain how PHP process the condition?
THX in advance,
Felho

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
 Use == instead of = in the if condition.
Thx, I know the difference. The exapmle use willfuly =.
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
 It outputs this: false bool(false) int(0)
Yes, this the right output.
 And this output is absolutely correct. Your condition gives new values
 to $a and $b because you use = and not ==. So you do this:
Maybe you never read this:
http://hu2.php.net/manual/en/language.operators.php#language.operators.precedence
The result is not so obvious. There sould some internal behavior which
cause this.
Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Klaus Reimer
Hodicska Gergely wrote:
  It outputs this: false bool(false) int(0)
Yes, this the right output.
And this output is absolutely correct. Your condition gives new values 
to $a and $b because you use = and not ==. So you do this:
Maybe you never read this:
http://hu2.php.net/manual/en/language.operators.php#language.operators.precedence 
The result is not so obvious. There sould some internal behavior which 
cause this.
I don't see the problem. The behaviour of your code matches the
precendences in my opinion:
$a = 1  $b = 0
PHP sees two expressions here:
$a = 1  $b   (because  has higher priority than =)
and
$b = 0;
So the condition resolves to 1  0 while $a is set to false and $b is
set to 0;
So where is the problem?
--
Bye, K http://www.ailis.de/~k/ (FidoNet: 2:240/2188.18)
[A735 47EC D87B 1F15 C1E9  53D3 AA03 6173 A723 E391]
(Finger [EMAIL PROTECTED] to get public key)


signature.asc
Description: OpenPGP digital signature


Re: [PHP] php compiler

2004-10-30 Thread Klaus Reimer
Hodicska Gergely wrote:
$a = 1  $b = 0
PHP sees two expressions here:
After the precedence table the first thing should be evaluating 1  $b, 
so we get:
$a = false = 0
Which is not meaningful thing, and maybe this cause that the evaluating 
of the statment is not in the right order.
= has a right  associativity. This is well explained on the page you 
think I have not read. See Example 15-1. $b = 0 is evaluated first and 
the 1  $b is evaluated after that.

Everything else would make no sense. (1  $b) = 0 is not a valid 
expression and throws an error.

--
Bye, K http://www.ailis.de/~k/ (FidoNet: 2:240/2188.18)
[A735 47EC D87B 1F15 C1E9  53D3 AA03 6173 A723 E391]
(Finger [EMAIL PROTECTED] to get public key)


signature.asc
Description: OpenPGP digital signature


Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
If you see the output, it seems, that PHP evaluate first $b = 0, and 
this is the problem.

 $a = 1  $b = 0
 PHP sees two expressions here:
After the precedence table the first thing should be evaluating 1  $b, 
so we get:
$a = false = 0
Which is not meaningful thing, and maybe this cause that the evaluating 
of the statment is not in the right order.

Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Hodicska Gergely
= has a right  associativity. This is well explained on the page you 
Oke, but  has a higher precedence. The right  associativity has 
sense when all the operand has the same precedence.

Felho
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php compiler

2004-10-30 Thread Klaus Reimer
Hodicska Gergely wrote:
Oke, but  has a higher precedence. The right  associativity has 
sense when all the operand has the same precedence.
I think the precedence of left and right associative operands can't be 
compared. The switch between associativities already separates the 
expression (if it could be explained this way). So you have to handle 
left-evaluated expressions and right-evaluated expressions 
separately. That's why $b = 0 and 1  $b are evaluated separately.

The PHP manual gives a fine example: Note:  Although ! has a higher 
precedence than =, PHP will still allow expressions similar to the 
following: if (!$a = foo()), in which case the output from foo() is put 
into $a.

And that's because = is right and ! is non-associative.
--
Bye, K http://www.ailis.de/~k/ (FidoNet: 2:240/2188.18)
[A735 47EC D87B 1F15 C1E9  53D3 AA03 6173 A723 E391]
(Finger [EMAIL PROTECTED] to get public key)


signature.asc
Description: OpenPGP digital signature


Re: [PHP] php compiler

2004-10-30 Thread Curt Zirzow
* Thus wrote Hodicska Gergely:
 If you see the output, it seems, that PHP evaluate first $b = 0, and 
 this is the problem.
 
  $a = 1  $b = 0
  PHP sees two expressions here:
 
 After the precedence table the first thing should be evaluating 1  $b, 
 so we get:
 $a = false = 0
 Which is not meaningful thing, and maybe this cause that the evaluating 
 of the statment is not in the right order.

 takes precedence to the left operator's expression and compares
it to the right side, you really want;

$a = 1  $b  $b = 0


In what ever case, your expression is rather unclear on what you
want to happen.  

if( 1  $b ) {
  $a = 1;
  $b = 0;
)


Curt
-- 
Quoth the Raven, Nevermore.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP Compiler?

2004-10-27 Thread Bill McCuistion
Sorry if this is an old question:  

Where can I find information on any plans to create a compiler for PHP,
especially v5.x?

Barring that, is there a PHP syntax checker that would enforce some of the
types of things that a compiler would find?  

I remember from back in my MS-DOS days the very good Clipper compiler for
the dBase III language.  dBase III, not unlike PHP, was an interpretive
language, and along the way some bright folks figured out how to write a
true dBase language compiler, which then allowed for all sorts of nice
things to happen.  One of the nicest things for me was that the compiler
caught all sorts of little things before the same code in the interpreter
would find them at run-time.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Compiler?

2004-10-27 Thread Robby Russell
On Wed, 2004-10-27 at 19:26 -0500, Bill McCuistion wrote:
 Sorry if this is an old question:  
 
 Where can I find information on any plans to create a compiler for PHP,
 especially v5.x?
 
 Barring that, is there a PHP syntax checker that would enforce some of the
 types of things that a compiler would find?  
 
 I remember from back in my MS-DOS days the very good Clipper compiler for
 the dBase III language.  dBase III, not unlike PHP, was an interpretive
 language, and along the way some bright folks figured out how to write a
 true dBase language compiler, which then allowed for all sorts of nice
 things to happen.  One of the nicest things for me was that the compiler
 caught all sorts of little things before the same code in the interpreter
 would find them at run-time.
 

I believe that there are some commercial products that can do this for
you.

-Robby

-- 
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting  Development
* --- Now supporting PHP5 and PHP4 ---
/


signature.asc
Description: This is a digitally signed message part


RE: [PHP] PHP Compiler?

2004-10-27 Thread Vail, Warren
Try;

http://www.zend.com

Warren Vail


-Original Message-
From: Bill McCuistion [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 27, 2004 5:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Compiler?


Sorry if this is an old question:  

Where can I find information on any plans to create a compiler for PHP,
especially v5.x?

Barring that, is there a PHP syntax checker that would enforce some of the
types of things that a compiler would find?  

I remember from back in my MS-DOS days the very good Clipper compiler for
the dBase III language.  dBase III, not unlike PHP, was an interpretive
language, and along the way some bright folks figured out how to write a
true dBase language compiler, which then allowed for all sorts of nice
things to happen.  One of the nicest things for me was that the compiler
caught all sorts of little things before the same code in the interpreter
would find them at run-time.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP Compiler - standalone

2004-06-08 Thread electroteque
Hi there silly question, I was wondering if there is such a php compiler
available like javac to compile php classes into bytecode so they are native
to the php module and dont need to be compiled, but without any extension
like turk to make it work ? Unfortunately I want this functionality so the
classes i include are already precompiled and dont need any parsing
whatsoever, and the systems guy doesnt understand the importance of caching
extensions :\ Let me know


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php compiler project(s)?

2002-02-28 Thread Demitrious S. Kelly

Are there any win32 / *nix PHP compilers out there to make a binary
executable I remember one for win32 a while back but that's no longer
even a glimmer in somebody's eyes anymore Anyone have any info on the
subject? (I'm not even looking for something GTK compliant just
something that works)


-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp




[PHP] PHP compiler

2001-02-16 Thread dmalcolm


Is there such a thing as a PHP compiler?  Linux based?  Windoze based?

Thanks in advance.

DM




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP compiler

2001-02-16 Thread Chris Lee

Zend Technologies has an encoder, might be what your looking for, might not.
why do you want to compile your code, you havent mentioned ?


--


Chris Lee
Mediawaveonline.com

em. [EMAIL PROTECTED]

ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120


"dmalcolm" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Is there such a thing as a PHP compiler?  Linux based?  Windoze based?

 Thanks in advance.

 DM




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP compiler

2001-02-16 Thread Jim Jagielski

At 9:10 AM -0600 2/16/01, dmalcolm wrote:
Is there such a thing as a PHP compiler?  Linux based?  Windoze based?

Thanks in advance.


Depends on what you mean by a compiler. If you mean a "package"
that turns your PHP script into a 100% stand-alone binary executable
then No, there isn't. If you mean a package that allows you
to turn your text-based source into something that you can distribute
and have people run, without giving out the source, then the Zend
Encoder will fit the bill.

Recall that it's the Zend Engine that (internally) does the
compilation into an executable form in PHP 4, so to create a
standalone binary, you would need the full PHP 4 and Zend Engine
"binary" functionality in the final executable as well :)
-- 
   Jim Jagielski[EMAIL PROTECTED]
  CTO and PHP Evangelist, Zend Technologies - http://www.zend.com/
   [V: +1 410-420-0140 | F: +1 410-803-2258 | M: +1 443-324-8390]
Visit the Zend Store at http://www.zend.com/store/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP compiler

2001-02-16 Thread dmalcolm

Chris Lee wrote:

 Zend Technologies has an encoder, might be what your looking for, might not.
 why do you want to compile your code, you havent mentioned ?

 --

 Chris Lee
 Mediawaveonline.com

 em. [EMAIL PROTECTED]

 ph. 250.377.1095
 ph. 250.376.2690
 fx. 250.554.1120

 "dmalcolm" [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
  Is there such a thing as a PHP compiler?  Linux based?  Windoze based?
 
  Thanks in advance.
 
  DM
 
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

No special reason, really.  I asked the question to know more about PHP.  I also
thought maybe, just maybe it would
generate a small performance boost.  However, for what I need PHP as is,
performs just fine.

Thanks

DM



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP compiler

2001-02-16 Thread dmalcolm

Jim Jagielski wrote:

 At 9:10 AM -0600 2/16/01, dmalcolm wrote:
 Is there such a thing as a PHP compiler?  Linux based?  Windoze based?
 
 Thanks in advance.
 

 Depends on what you mean by a compiler. If you mean a "package"
 that turns your PHP script into a 100% stand-alone binary executable
 then No, there isn't. If you mean a package that allows you
 to turn your text-based source into something that you can distribute
 and have people run, without giving out the source, then the Zend
 Encoder will fit the bill.

 Recall that it's the Zend Engine that (internally) does the
 compilation into an executable form in PHP 4, so to create a
 standalone binary, you would need the full PHP 4 and Zend Engine
 "binary" functionality in the final executable as well :)
 --
Jim Jagielski[EMAIL PROTECTED]
   CTO and PHP Evangelist, Zend Technologies - http://www.zend.com/
[V: +1 410-420-0140 | F: +1 410-803-2258 | M: +1 443-324-8390]
 Visit the Zend Store at http://www.zend.com/store/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

I understand about the full PHP4 and Zend Engine functionality, although
that could be
arranged as a unix shared object or Microsoft DLL.
As I mentioned in another post though I really am trying to learn more about
the limitations
of PHP.

Thanks.

DMJim Jagielski wrote:

 At 9:10 AM -0600 2/16/01, dmalcolm wrote:
 Is there such a thing as a PHP compiler?  Linux based?  Windoze based?
 
 Thanks in advance.
 

 Depends on what you mean by a compiler. If you mean a "package"
 that turns your PHP script into a 100% stand-alone binary executable
 then No, there isn't. If you mean a package that allows you
 to turn your text-based source into something that you can distribute
 and have people run, without giving out the source, then the Zend
 Encoder will fit the bill.

 Recall that it's the Zend Engine that (internally) does the
 compilation into an executable form in PHP 4, so to create a
 standalone binary, you would need the full PHP 4 and Zend Engine
 "binary" functionality in the final executable as well :)
 --
Jim Jagielski[EMAIL PROTECTED]
   CTO and PHP Evangelist, Zend Technologies - http://www.zend.com/
[V: +1 410-420-0140 | F: +1 410-803-2258 | M: +1 443-324-8390]
 Visit the Zend Store at http://www.zend.com/store/

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]