PHP4.0 beta released 96
Emphyrio writes "Today, the first beta of Zend (php 4.0 scripting engine) was released.
Php 4.0, in combination with the Zend scripting engine, is supposed to be a faster, more efficient, and enhanced version of php 3.0.
Benchmarks between php 4.0/Zend and ASP have been made, giving _very_ good results, and showing php 4.0/Zend to outperform asp greatly.
Php 4.0 is the first public php release using the Zend scripting engine, wich is relased under the QPL source license.
More information about Zend and php 4.0 can be found on the Zend home page and the Php 4.0 homepage. . "
Re:PHP seems broken by design. (Score:1)
I can't remember the number of times I've done that. Just today I had a "sheeesh, this page is taking ages" moment again...
Re:PHP seems broken by design. (Score:2)
I agree with you that embedding executable code in your HTML is a bad idea, unless the executable content is small enough to be trivial. PHP does not REQUIRE you to embed large amounts of code directly in your page, however. If you follow sensible Object Oriented programming techniques, you can use PHP in much the same was as Java Server Pages uses JavaBeans.
Put all of the complex code necessary for a single piece of functionality in a single PHP script which is built as a class. Pass the output of that class to a utility class, like an HtmlTable rendering class, and you only need to include a couple of PHP-specific lines in your HTML. At that point switching out the HTML becomes trivially simple. If you create a "style-free" HTML template which contains all the necessary PHP includes, then you can hand this template off to any HTML production person with simple instructions.
You still have to include SOME PHP code in your HTML - enough to point to the objects that do all of the real work, and which provide HTML output.
From the example you sited above, it sounds as though you hard-wired the PHP code into your HTML. This is a very common, but bad, practice, one which runs counter to component based development.
The website www.phpbuilder.com [phpbuilder.com] has some good articles discussing the use of PHP classes.
The practice of embedding executable content directly in an HTML document represents a way to share some of the development burden with people who may not be qualified programmers. You can create an object tailored to your immediate needs (business or otherwise), tell your HTML producing co-workers how to use that object on a web page, and let them do the rest of the work, while you go back to building more objects.
If you follow this practice, the graphic designer doesn't have to give you HTML templates, you can give the designer your objects, and let them build the page. Tools like Macromedia's Dreamweaver allow you to define custom objects so that your HTML people don't need to leave their familiar environment in order to embed your functionality.
Re:PHP seems broken by design. (Score:1)
But if you really want to have yet another template format:
You can easily write a template paerser that accomplishes this, with servlets, with PHP or with mod_perl (for mod_perl, check http://perl.apache.org) and quite surely with all the other languages out there, too.
I'd recommend having a look at mod_perl, since perl is usually faster when dealing with parsing text files.
Re:Sick of Slashdot (Score:2)
Re:GD + PHP question (Score:1)
Rasmus, *the* PHP bloke, replied that it will still be supported because people use it, and most importantly, the fact that PHP is not distributing GD therefore there is no legal case against them. Nice !
Re:Validity? (Score:1)
I have moved some sites from ASP to PHP and no client has ever complained about speed (their pages have been faster with PHP); and as a value-added product my clients no more have to reboot their machines twice a day.
Now if PHP4 is (as they say) faster than php3 then Why not using it?
Re:PHP seems broken by design. (Score:1)
Re:License concerns? (Score:2)
The QPL was designed to be an opensource license that retains the authors' copyright over the code, while letting everybody else use it for non commercial purposes. In our case, you can use it indirectly for commercial purposes through PHP or other opensource packages that may use it in the future, but you cannot use it directly in commercial applications. For that, you would have to talk to us (Andi&Zeev) first.
That's exactly what we wanted the license to say, and we were happy to find a ready made, proof read license that is widely accepted by just about any opensource body in the world.
Re:QPL... so no more GDBM support? (Score:1)
Read my earlier reply at:
http://slashdot.org/comments.pl?sid=99/07/20/12
About GDBM and other GNU software, this is very very minor annoyance. Building binary modules in future PHP 4.0 versions is going to be very easy, so distributing a pre-made GDBM module for PHP, under the GPL isn't going to be a problem at all.
Re:Why QPL? (Score:1)
Like, game over, man...Re:PHP vs. ASP vs. mod_perl (Score:1)
Your link seems to be deader than the proverbial steel entryway affixation unit...can you check it and try again?
Thanks for the other info, though! :-)
TIA,
Ethelred [surf.to]
Re:Cannot sell php scripts (Score:1)
Generally, open source licenses don't cover scripts/programs written in the OSS script/programming language. For example if you write a C prog and compile it with GCC, the input source does not become GPL'ed, and the output does not become GPL'ed either. As you pointed out PHP4 would be quite useless if the QPL didn't have the same 'idea' in mind. Most of the stuff in the QPL will apply to programs derived from the zend program source I guess.
What are Language Enhancements? (Score:1)
Thanks,
Gothland
Re:License concerns? (Score:1)
don't ask me to explain the QPL
Worked fine for me. (Score:2)
Re: (Score:1)
PHP engine modifications (Score:1)
One reason for choosing the QPL could be that the GPL is
a) not compatible with (many) other Open Source licences and
b) unlikely to be defensible in court.
But, if you need a python-based web publishing environment, you could as well take Zope [zope.org]
Re:What are Language Enhancements? (Score:1)
I just fixed that in CVS.
You can write sloppy code. You don't have to. (Score:1)
You can use PHP for _very_ rapid development. This means putting all your scripting logic within the page. The result will be sloppy spaghetti code as described by you. (But if it's just a small job, you can have it finished in a very short time. Sometimes "good is good, but done is better".
If you just discipline yourself, you put all your scripting logic outside the pages into include files. The dynamic page then only consists of some initial "require" calls to include the code and then, you can write your page just like a template, only with a few variable output commands in the page.
So it depends on you _how_ you write code. I wouldn'nt call this "broken by design".
There are *other* things that are bad about PHP3 though (I don't know about version 4, yet, so I hope that they have worked on that). Its standard collection of function libraries is not exactly elegant and the way PHP deals with hash variables also isn't really beautiful.
IMHO, PHP is inferior and a less elegant language compared to Perl. But it is a *very* efficient tool to get the job done, even an idiot is able to install it on a web server (unlike mod_perl that takes a significant amount of time to tackle) and even non-programmers understand how the mixture of HTML and PHP code works.
Re:Validity? (Score:1)
Zope is better (Score:1)
http://www.zope.org/
Re:Validity? (Score:1)
But anyway, using Quicksort and empty loops for measuring performance is meaningless. I think more valid benchmark would be like outputting data from same databases to HTML - using best methods available in both platforms.
And you should know that ASP is NOT a language like PHP/Zend - it's scripting host that can accept multiple languages - mixed in one file. You can use VBScript, JScript, PerlScript and any scripting engine you want easily.
Re:Validity? (Score:1)
(Note: above approximation is for my laptop - K6 300Mhz, 64M RAM, NT 4.0 Wks)
Re:Useless (Score:2)
Re:GPL not defensible in court? (Score:1)
Now, I *like* the QPL, but...I wouldn't go that far.
The GPL is the best license, bar none, because it is the *only* license that grants *equal* rights to all users *and* keeps software from becoming closed. No one has special rights. That is the only problem I have with the QPL: it grants special rights. Otherwise, it's a great license, and discourages closed software like the GPL.
--
Very cool tech... (Score:1)
Start your application on a lowly Pentium Linux machine, and upgrade to Sun Enterprises when you "make it"
Jón
Why QPL? (Score:2)
Re:Slashdoted or what ? (Score:1)
I'm pretty excited about the new benchmarks. I hope that the
PHP vs. ASP vs. mod_perl (Score:1)
I'm wondering partly because I use PHP a lot, but know just about zilch about mod_perl and don't know if it's worth it to try using it. FWIW I use PHP mainly to make a global, dynamic template for a website, which then reacts to the browser type to generate code. Anybody know how PHP and mod_perl compare for that kind of use?
Ethelred [surf.to]
Re:Slashdoted or what ? (Score:1)
But i have not found one with anything
in the
Try
http://fi.php.net/ for example
I couldn't find any mirrors for zend.com from looking at the zone file either.
Slashdoted or what ? (Score:1)
If it's a routing problem please help me find a mirror 8)
J-F Mammet
webmaster@softgallery.com
Sick of Slashdot (Score:2)
Now the php site is completely unavailable, and I guarantee you most of the people going there because of the slashdot story don't use php and are just going because they say it here.
Meanwhile, the people who USE THIS SOFTWARE FOR A LIVING can't even get to the site.
Gee, thanks slashdot.
Re:Why QPL? (Score:1)
I was under the impression that the copyright holder can issue the source under whatever license they choose. Previous releases have no relevance. Of course, this only applies to the code which they own the copyright too. I'd assume that patches had been submitted to PHP 3.0 with other copyrights. This would complicate matters I guess.
Re:Why QPL? (Score:1)
Re:Why QPL? (Score:1)
Re:PHP vs. ASP vs. mod_perl (Score:2)
Hello World Benchmarks [joshua.com]
Note that this is for a very limited test - A simple "Hello World". The idea being to test the startup time and latency only. Obviously this doesn't test the speed of database interfaces, long scripts, loops, etc. We're trying to put that right now with a sort of competition between the different scripting environment people.
For what it's worth, here's what Rasmus Lerdorf had to say about PHP4 vs mod_perl:
> keep in mind that a short test like this plays into
> PHP's strengths a bit. The larger and more complex the script is, the
> more the gap between mod_perl and mod_php narrows performance-wise and at
> some level of complexity mod_perl overtakes mod_php. With PHP4 this point
> has been moved further out to the point where the script would have to be
> *extremely* complex in order for the overall end-to-end request to come
> out faster in mod_perl. But you always have tradeoffs. With PHP you
> trade power and performance for really complex scripts for speed on simple
> stuff. That also means that the two packages can be very complimentary
> and be used together to get the best of both worlds.
>
> -Rasmus
(Hope Rasmus doesn't mind me posting this here, but it's in the mod_perl archives anyway).
- Look for new benchmarks using more real-world stuff coming soon.
Matt.
perl -e 'print scalar reverse q(\)-:
Re:Sick of Slashdot (Score:3)
publicity => more users => more developers => better product
The site will likely be available, as usuall, 8 hours from now. I have been chompin' at the bit for this release for months, a few more hours won't kill me.
Relax a bit.
DS
GPL not defensible in court? (Score:1)
> a) not compatible with (many) other Open Source licences and
> b) unlikely to be defensible in court.
Could you please elaborate more on that? What makes you think the GPL is legally any more different than the other free licenses? I have not heard any convincing arguments so far
Re:Sick of Slashdot (Score:2)
Slashdot is probably not the only place with a big fat link to http://www.php.net/version4 this morning. In fact, I've seen it three other places this morning, of the three sites I've visited.
Just because the term is "slashdotted" doesn't indicate that an appearance on this site automatically equals a dead server.
So chill. Or do you really need to deploy PHP4.0b1 before lunch?
Re:Sick of Slashdot (Score:1)
:)
Re:License concerns? (Score:2)
The Zend license only concerns C software written
around it. You can write and sell as many PHP
scripts as you'd like without requesting
permission from anyone!
As a matter of fact, the PHP 4.0 license is much
less restrictive than the original PHP 3.0 license
was, and much less restrictive than the GPL.
The QPL only allows us to license the Zend engine
to commercial companies, and has no effect whatsoever on PHP 4.0 nor its users.
Re:QPL... so no more GDBM support? (Score:2)
other GNU software with PHP 4.0, just as you could
with PHP 3.0. Even if we tried, we could hardly
mess up the PHP license that would prevent you
from using GNU software with it.
What's the effect then?
The effect is that since PHP is no longer distributed under the GPL, but the PHP license, we can no longer distribute GNU software with it, in the same package. If you obtain the GNU software in other ways (e.g., ftping it from ftp.gnu.org; GDBM was never really distributed inside PHP anyway) - you're free to use the two packages as much as you'd like. PHP 4.0 supports GDBM just like its predecessors, and there are no legal issues involved in using this or any other GNU package with it.
One last note - it is Zend that's distributed under the QPL, not PHP. PHP is distributed under the PHP license (which points you to the Zend license if you wish to see the license under which Zend's distributed).
Simply put, end users of PHP (including site builders that sell their sites) should not be concerned in any way with the Zend license. It hardly has anything to do with them. The Zend license affects mostly two groups of people - people who publish patches for it, and commercial companies that wish to write applications (C applications, not PHP applications) around it.
We'll publish a FAQ for the two licenses soon, because we see this is bothering people, when it really shouldn't.
Re:GPL not defensible in court? (Score:1)
OK. You asked for it
One of the reasons TrollTech stated for not taking the GPL (+ an additional commercial license) was this legal aspect.
RedHat stated this assumption as one of the main risks when they filed for the IPO.
Many other companies and press reviewers mention that point.
So this seems to be a valid concern. But why?
The GPL is both long *and* unclear. It tries to be comprehensive and precise but fails miserably.
Think of the discussions about the meaning of (the current version of) the GPL. Everyone disagrees with each other, and in the end the dispute is settled by asking RMS. So the GPL essentially means what RMS wants it to mean. This may be OK in a moral context, but it is insufficient for legal purposes.
The main problems with the GPL v2:
-> No clear vision of "linking" and "derived works": Todays software words sees much more kinds of dynamic cooperation between software objects than a couple of years ago. Plugin architectures, CORBA components, XML based GUI apps etc etc, make the distinction between derived/combined and independent works VERY tricky.
-> The "system component" clause is extremely unclear. Who defines what's part of the system? What ISN'T part of the system, when distributors ship gigabytes of software with their "system"? This has to be clarified IN the license, not by the whim of its creator.
-> "GPL compatibility": In short, a license is GPL compatible when RMS says so. Period. There are rules of thumb (more/less restrictive), but none of these are justified by the license text. If you like, I can give you very valid reasons why the X license is not GPL compatible...
In short, lawyers, at least here in continental Europe, laught at you if you show them that peculiar license text (that's what I have been told). Caldera's and TrollTech's lawyers obviously felt the same.
In fact, the QPL is a pretty good license, if you like the GPL. It's essentially GPL plus right to link to all other Open source code minus right to do 'closed' in-house development.
Mass bustage everywhere!!! (Score:3)
Has anyone had much luck with it?
Some code elements are obvious enough why they don't work. I'm not clear exactly why they would no longer allow non-static defaults to parameters in class constructors. Much of my code doesn't work because of that, but that can be (much less elegantly) fixed. They claim there's not very many situations where you'd want to do that, but I can think of dozens of them.
Also, PHP4 doesn't seem to like returning instantiated objects from methods in a class. I'm not clear why it wouldn't allow that, but it craps out with a parse error. Its possible that error messages in PHP4/Zend suck, as well, since that particular one isn't a documented incompatability, and perhaps its saying the error is on that line when the error is in the parsing of constructor for the object being returned.
(if that wasn't clear, code like this doesn't seem to work:)
function my_function($var = "") {
return new OtherObject ($this, $var);
}
Worked fine in PHP3. The error message sucks, so its not clear if the error is in the returning of the object, in the passing of my current object to the new object, or possibly in the constructor for the object.
Has anyone done any serious OO coding in PHP3 and had it work cleanly in PHP4? I recognize that a lot of the OO functionality wasn't documented, and should've known it could be changed, but some of this stuff isn't rocket science, and works in most other OO languages.
Anyway, good in concept, but looks like I'll be sticking to PHP3. I wonder how long development will continue on the PHP3 code base...
Outdated concerns (Score:1)
CVS development is possible, and so is forking and changes in the code. The requirement to mark those changes clearly is the same as in the GPL.
Actually the only "problem" with the QPL in Qt's case is not one of free software: It's the fact that shareware authors have a tougher life. That's why they are choosing LGPL'd libraries like fltk or gtk.
In Zope's case it remains to be seen if there is a commercial license for proprietary modules, and how much it will be.
Abd BTW, if you like python, there is Zope as well.
Re:GD + PHP question (Score:1)
Now, while I know it's not the most efficient way to do things, you can still get a real gif (or jpg!) by way of external programs.
For example, the web-tool for our application used gifs, which were fine, until GD started not compressing them - suddenly 160kb gifs for charts! Uuugh.
The solution? Just use something like giftopnm temp.gif | cjpeg (or a one-step program if you've got one). Our graph.php3 now just puts a
Header("Content-type: image/jpeg");
at the top, and uses
imagegif($im,"temp.gif"); passthru("giftopnm temp.gif | cjpeg");
instead of
imagegif($im);
No problem! :)
Re:PHP seems broken by design. (Score:1)
CPU is cheap. inflexibility is expensive. Headers and footers, hell, even page templates, are far from enough...
This is actually why I dont much like PHP, because I want a programming language that can talk to everything and is good with strings, not html with codelets inside (be they java, javascript or PHP). I already know a good language.. perl.. and mod perl puts that in the server. So my website doesnt even have any html pages...
On a dual processor 500 box, and mysql, a gig of ram, and some 10k scsi disks, for a measly $3000 total cost with linux, I could flood a T3 with that.. (unfortunately, I dont HAVE a T3... but you get the point).
-Justin
Re:Validity? (Score:1)
Big relief when they switched to PHP: zippy and stable. Haven't had an error since.
Re:PHP seems broken by design. (Score:1)
Re:GPL fork of PHP? (Score:1)
Re:Slashdoted or what ? (Score:1)
available with no luck. I only found some cvs directories somewhere.
*SIGH*
J-F Mammet
License concerns? (Score:2)
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete
machine-readable source code to the items without any charge
beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to use
and re-distribute original and modified versions of the items in
both machine-executable and source code forms. The recipients must
be able to do so without any charges whatsoever, and they must be
able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
This seems like total B.S. to me, and such a radical departure from how PHP3 was licensed, to render PHP4/Zend completely useless in a commercial environment. It makes it seem like there may potentially be a liability if an ISP is using Zend on their server, and a customer develops extensions for their website and doesn't make them freely available. There also isn't a clear distinction made between binary extensions, and external libraries of functions written in PHP.
Anyone else see this as a concern? Maybe its time to fork the PHP development, and get a similar engine to Zend distributed where that's not as significant an issue.
Its my understanding with GPL I've got every right to code a commercial non-opensource package that utilizes its functionality, as long as I either do not distribute the GPL'd software, or use it embedded into the binary form of my program? (Like the new CodeWarrior for GNU package...)
Re:License concerns? (Score:1)
I'm not sure I see the problem, as the emphasized part of the quote from the license should make clear, the provisos only click in if you distribute what you've written. I suppose there could be a problem with the interpretation of "distributed", but the most natural reading to my ear (which counts for jack in a court of law, I know) is that it involves releasing the software in a format useable by others, and wouldn't be met by merely running the software on your own site.
Anybody more familiar with the QPL want to weigh in?
PHP seems broken by design. (Score:1)
So, I decided to have a serious look at it...
...it seems fundamentally broken.
The idea of putting *code* in *HTML* is just plain wrong! It increases maintenance costs tremendously-- there is no division between user interface and application logic!
Example: Say I built a big old hairy PHP site... client wants to change the look/feel, but not the logic. Great-- graphic artist provides me with a bunch of new HTML mockups of the new look and feel.
I now have to not only integrate the new look and feel, but I have to also integrate my old code and-- in some very likely cases-- potentially completely restructure the code!
Maybe I missed something? I'm hoping I did.
Specifically, does PHP support some kind of template that isolates the HTML from the supporting code?
If not, there is no way I could recommend PHP to any of my clients.
b.bum
Re:PHP seems broken by design. (Score:1)
Try FastTemplate, you can find the link in this aritcle:
md
Re:PHP seems broken by design. (Score:1)
there is no division between user interface and application logic!
So what ? Generally I use html with php included at the relevant points.
To define a php area of code, the to close. Anything else is not parsed ( OK other tags, but lets not complicate things here).
You can do clever stuff such as
A bit of HTML
Generally, yes I think you are missing somthing - don't diss it until you've at least tried it. It doesn't take long to set up (about 45 mins on Linux, about fifty on windows) and I guarantee you won't feel the same a week from now if you try it now.
Re:PHP seems broken by design. (Score:1)
<%@ Language = JScript %>
<!--#include file="header.asp"-->
<%
var conn = openConn()
var rs = conn.Execute("select * from authors")
while (!rs.EOF)
{
Response.Write(rs("FirstName") + " " + rs("LastName") + "<br>")
}
rs.Close()
delete rs
releaseConn(conn)
%>
<!--#include file="footer.asp"-->
This means all outer HTML (e.g. headers, footers, menus, navigation etc.) is separate from inner code. HTH
Re:PHP seems broken by design. (Score:1)
oops.. here's the link: PHPBuilder.com - Templates - why and how to use them in PHP3 [phpbuilder.com]
md
GD + PHP question (Score:1)
Re:GD + PHP question (Score:1)
You probably won't see Ilib support in the main distribution of PHP4 because it is licensed under the GPL. But PHP4 makes it much easier to distribute third-party extensions to PHP, which means we can stop putting everything and kitchen sink in the main distribution.
Jim (jimw@php.net)
Re:Why QPL? (Score:1)
PHP4 is available only under the PHP License v2, which is essentially the PHP License v1, minus the "written permission" clause, plus a reference to the fact that the Zend code is under a different license.
The Zend code is under the QPL, and is something that PHP4 is dependent on. But it is a different body of code, with different owners.
Jim (jimw@php.net)
Re:oh yeah. (Score:1)
Jim (jimw@php.net)
Re:Sick of Slashdot (Score:1)
However, if you rely on PHP for a living, that's great. But if you depend on Zend for a living, perhaps you shouldn't. Depending on Beta software and then complaining when it doesn't work or isn't available is just *stupid*.
Incidentally the PHP site != the Zend site, and the PHP site *is* mirrored.
Re:Mass bustage everywhere!!! (Score:2)
Has anyone had much luck with it?
http://www.php.net/ has been running PHP4 for a week or two now, with no problems.
Has anyone done any serious OO coding in PHP3 and had it work cleanly in PHP4? I recognize that a lot of the OO functionality wasn't documented, and should've known it could be changed, but some of this stuff isn't rocket science, and works in most other OO languages.
This is a beta release. There may be simple things broken. In fact, there are probably lots of simple things broken.
PHP is not an OO language. It has OO features. Right now they may not be as well-tested as you'd like, possibly because not many of the regular PHP developers rely on the OO features that heavily, particularly things that are the slightest bit exotic.
Anyway, good in concept, but looks like I'll be sticking to PHP3. I wonder how long development will continue on the PHP3 code base...
As long as there are people willing to maintain it. You certainly won't see it disappear before PHP4 is out of beta.
Jim (jimw@php.net)
Re:PHP seems broken by design. (Score:1)
I would also like to present what I think is an excellent model of for such an environment.
In particular, a separation of HTML and code such that the HTML is simply standard HTML with, maybe, one or two additional tags. These tags would basically provide the binding between PHP and the underlying code. Example:
PHP Name="MyDateThingy"/PHP
Would expand the MyDateThingy PHP "object" or "function" and shove it into the HTML. Conditional HTML would be done by sticking the HTML "inside the tag". I.e. in between the >.... then, if MyDateThingy or, my appropriate, MySwitchThingy evaluated to true, then the HTML inside the tag would be emitted, otherwise not.
This kind of a system separates the front end from the back end such that the front end can be edited with your various random standard HTML editors... UI change? No problem....
Validity? (Score:1)
You guys almost sh@t yourself when you saw the NT bechmarks done by both Mindcraft (twice) and PC Week (once).
Yet no one questions these? They are done by the company putting out the product... hrm.
So here it is:
Bitch bitch bitch, whine whine whine, bitch bitch bitch... this [place product here] sucks, it's obviously bullshit. There is no way that [place product here] could out do [place favorite under-dog OS/App here]. It was obviously swayed by the funding of [place company here] so they can't possibly be valid.
There... somebody had to do it.
If it's faster (considerably) then I will use it. (Athought I love ASP and it's extreme easy of use.)
Re:PHP seems broken by design. (Score:1)
To define a php area of code, the to close.
Anything else is not parsed ( OK other tags, but lets not complicate things here).
You can do clever stuff such as
A bit of HTML
And the bit of HTML will *only* be shown if the if statement is met. Nice !
Re:PHP seems broken by design. (Score:1)
Cannot sell php scripts (Score:1)
Say for instance, you create The World's Best Shopping Cart software. Wouldn't you then be forced to distribute the source code as well as a binary format?
Also, many contracters do not as a habit "sell" the source code to their work when they do contract work for employers. Won't this QPL force them to hand over their code?
We have the GPL which has worked fine for over a decade. There's zero reason that I can see to use this QPL.
Whiner... (Score:1)
- A.P.
--
"One World, One Web, One Program" - Microsoft Promotional Ad
Re:PHP seems broken by design. (Score:1)
To define a php area of code, the . Anything else is not parsed ( OK other tags, but lets not complicatethings here).
You can do clever stuff such as
A bit of HTML
The html bit will only be shown if the if statement is met. Nice !
Re:PHP seems broken by design. (Score:1)
Keep in mind that this is a design decision: allowing you to put code in your html makes sense when all you want is one or two lines of script.
Interested in licensing issues? (Score:1)