Edin Kadribasic schrieb:
The page is a bit confusing and I didn't want too much new stuff to it
without thinking about it first. Your suggestion is promising, but it
might be a bit too wide for people that have smaller screen resolutions.
I think we need to make it look good at 1024x768.
Yes, t
Am Donnerstag, 3. Mai 2007 09:34 schrieb Andrew Brampton:
> I have wanted to use this kind of syntax a couple of times, for example:
> while ($line = mysql_fetch_array(...)) {
> echo $line;
> } else {
> echo 'Sorry no records';
> }
> ?>
This example leaves me speechless.:)
Regard,
Olive
Hi,
Stanislav Malyshev wrote:
Could you describe a couple of use cases where you would use such
things (i.e. in real world scripts/libraries)?
Sure, let's take an example:
You have a library that uses a factory pattern, but you'd like to cache
those already generated objects in a static var
On Thu, May 3, 2007 2:34 am, Andrew Brampton wrote:
> - Original Message -
>> On Sat, April 28, 2007 1:03 pm, Pelle Ravn Rosfeldt wrote:
>>> Is it possible to make a "while" with a "else"-statement in PHP6?
>>> I know that it's not the first time this subject is up, but my
>>> research
>>>
On Thu, 2007-05-03 at 14:29 +0300, Tomas Kuliavas wrote:
> I think you are confusing PHP features with MySQL features. By running
> 'SET NAMES' query you set client, connection and result character sets in
> MySQL (see http://dev.mysql.com/doc/refman/4.1/en/charset.html). It is not
> related to PHP
Hy,
i've attached my patch, it's not perfect and it's not complete.. the
codebase is a little bit awful and my code isn't much better ;) ,
however - now it works with php 5.2.1 and spread 4.0. (only worked on
connecting + sending spread messages, the rest of the code i didn't
touched, so i don
I've already proposed that 1-2 months ago, but now seems to be a good
time to discuss new things, so let's try again:
I believe it would be nice to be able to dynamically reference static
members, constants, and methods.
Currently, there is no way to do that and the only way would be to
create
On 28/04/07, Pelle Ravn Rosfeldt <[EMAIL PROTECTED]> wrote:
Hi there.
Is it possible to make a "while" with a "else"-statement in PHP6?
I know that it's not the first time this subject is up, but my research
shows that a lot of people miss it. Including me.
Here's an example of what I mean:
---
Hi,
In this way, classes can be considered as polymorphism, just like objects.
So is it OK to allow abstract static function in abstract class to support
this feature directory? Currently it is forbidden in HEAD, only interfaces
can have static function.
Thanks
2007/4/27, Etienne Kneuss <[EMAIL
On 5/3/07, Tretter Simon <[EMAIL PROTECTED]> wrote:
submitting a patch for a php extension in pecl tree (spread)
i made a patch for php5.2 and spread 4.0
What you did is the right thing, submit a bug report and wait a bit
until one (in this case, it will certainly be me) answer.
Further discus
Ok, forwarding to the pecl-dev list now
Tijnema
On 5/3/07, David Coallier <[EMAIL PROTECTED]> wrote:
On 5/3/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> Forwarding to the list...
>
> Tijnema
>
> -- Forwarded message --
> From: Simon tretter <[EMAIL PROTECTED]>
>
>
> Hy,
> i've
On 5/3/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
Forwarding to the list...
Tijnema
-- Forwarded message --
From: Simon tretter <[EMAIL PROTECTED]>
Hy,
i've attached my patch, it's not perfect and it's not complete.. the
codebase is a little bit awful and my code isn't much bett
Forwarding to the list...
Tijnema
-- Forwarded message --
From: Simon tretter <[EMAIL PROTECTED]>
Hy,
i've attached my patch, it's not perfect and it's not complete.. the
codebase is a little bit awful and my code isn't much better ;), however
- now it works with php 5.2.1 and
Hmm ok, so what does the parameter "unicode.runtime_encoding = iso-8859-1"
do?
IIRC runtime_encoding is used to translate Unicode strings (UTF-16) to
plain strings if some internal function accepts only plain strings.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.
On 05/03/2007 05:24 PM, Tretter Simon wrote:
submitting a patch for a php extension in pecl tree (spread)
i made a patch for php5.2 and spread 4.0
CVS account is not required to submit a patch.
You can send it to [EMAIL PROTECTED] and CC spread maintainers.
---
Wbr,
Antony Dovgal
--
PHP Inte
On 5/3/07, Tretter Simon <[EMAIL PROTECTED]> wrote:
submitting a patch for a php extension in pecl tree (spread)
i made a patch for php5.2 and spread 4.0
You don't need a CVS account for submitting one patch, send it to this
list and someone will submit the patch.
Tijnema
--
PHP Internals -
submitting a patch for a php extension in pecl tree (spread)
i made a patch for php5.2 and spread 4.0
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, May 03, 2007 at 08:36:00AM -0400, Sean Bright wrote:
> This fails the "Make PHP code easier to read" test I think. But it passes
> the "I'm a lazy programmer" test with flying colors! ;-)
>
> I mean seriously, what real value does this add to the language? Its just
> syntactic sugar to s
This fails the "Make PHP code easier to read" test I think. But it passes
the "I'm a lazy programmer" test with flying colors! ;-)
I mean seriously, what real value does this add to the language? Its just
syntactic sugar to save yourself a few keystrokes.
On 5/3/07, Andrew Brampton <[EMAIL PRO
Richard Quadling wrote:
> How about something along these lines ...
>
> (Not pretty as I'm crap at the design - sorry).
>
> http://rquadling.php1h.com/snap.html
Eeek! ;)
--
Michael
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/3/07, Rangel Reale <[EMAIL PROTECTED]> wrote:
Hmm ok, so what does the parameter "unicode.runtime_encoding = iso-8859-1"
do?
This means that, when "unicode.semantics = on", internally everything is
utf-16, event text read from iso-8859-1 script files and database data, so
if I want to retur
> Hello!
>
> I am trying to understand how PHP6 handling of unicode works, I think I am
> missing something.
>
> My config is:
>
>
> ; Unicode settings ;
>
>
> unicode.semantics = on
> unicode.runtime_encoding = iso-8859-1
> unicode.script_encoding = iso-88
Hmm ok, so what does the parameter "unicode.runtime_encoding = iso-8859-1"
do?
This means that, when "unicode.semantics = on", internally everything is
utf-16, event text read from iso-8859-1 script files and database data, so
if I want to return iso-8859-1 data, I need to set "unicode.output_enc
How about something along these lines ...
(Not pretty as I'm crap at the design - sorry).
http://rquadling.php1h.com/snap.html
Use icons for the labels (BZ2, GZ, ZIP, PECL, INST, COMP, SNAP).
The logs for failed builds could also be included.
Richard.
On 03/05/07, Tijnema ! <[EMAIL PROTECTED
On 5/2/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote:
Jan Reininghaus wrote:
> I would like to suggest a redesign of the page. In my opinion the page
> is too complex, so for example I find it a bit hard to match the
> information for the next snapshots in the left of the page with the
> snapshot
On 5/2/07, Arnold Daniels <[EMAIL PROTECTED]> wrote:
Hi,
I've got a bug with is_link and lstats. Any symlinks not created in the
current session, will not be read. This only occurs in the Apache 2 SAPI
version, not in the CLI version.
Script:
\n";
$symlink = '/tmp/link-persist';
if (!f
On Thu, 3 May 2007, Alexey Zakhlestin wrote:
> php6 always handles all "internal work" in utf-8
No, it is UTF-16 internally.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
php6 always handles all "internal work" in utf-8
But, from what I remember, there should be a way to specify encoding
in which you expect data to arrive (in this example from mysql_*)
I think, that someone who knows more will give you more details
On 5/3/07, Rangel Reale <[EMAIL PROTECTED]> wrot
- Original Message -
On Sat, April 28, 2007 1:03 pm, Pelle Ravn Rosfeldt wrote:
Is it possible to make a "while" with a "else"-statement in PHP6?
I know that it's not the first time this subject is up, but my
research
shows that a lot of people miss it. Including me.
Here's an example o
It can save you one if-statement, where the condition would be identical to
the where condition.
Example:
if ($i <= 10)
{
while ($i <= 10)
{
$i++;
}
}
else
{
echo "$i is more than 10\n";
}
I personally hate overspecifications, and this is one situation where that's
the case. So act
30 matches
Mail list logo