hello,
I am mostly familiar with php for serving up web pages; however,
recently i have been writing a local command line script on my WinXP
machine. I have spent the better part of this last week and all of
today trying to figure out a way to send a mouse click to a particular
window on
Hello,
I am mostly familiar with php for serving up web pages; however,
recently I have been writing a local command line script on my WinXP
machine. I have spent the better part of this last week and all of
today trying to figure out a way to send a mouse click to a particular
window on
Hello,
I want to return an array from function and reference an index all in
one line. Is this possible?
In the code below I want I want $yo to be the array(5,6).
Here is what I've tried,
function returnarray() {
return array('lose' = array(5,6), 'win' = array(9,8));
}
$yo =
Wolf wrote:
Daniel Kolbo wrote:
Hello,
I am mostly familiar with php for serving up web pages; however,
recently I have been writing a local command line script on my WinXP
machine. I have spent the better part of this last week and all of
today trying to figure out a way to send a mouse
Philip Thompson wrote:
Top-posting side comment: It's not nice to hijack threads.
My comments are below...
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all in
one line. Is this possible?
In the code below I want
It was fun! thanks
tedd wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jim Lucas wrote:
Bojan Tesanovic wrote:
On Apr 12, 2008, at 12:33 AM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all in
one line. Is this possible?
In the code below I want I want $yo to be the array(5,6).
Here is what I've tried
Stut wrote:
On 12 Apr 2008, at 00:31, Daniel Kolbo wrote:
Philip Thompson wrote:
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
I want to return an array from function and reference an index all
in one line. Is this possible?
In the code below I want I want $yo to be the array(5,6
Stut wrote:
On 12 Apr 2008, at 00:13, Daniel Kolbo wrote:
In addition to the function i mentioned from winbinder
wb_send_message() I have tried:
I tried loading in the user32.dll extension from within the php.ini,
this failed.
I tried loading in the user32.dll from within the script
Casey wrote:
On Sat, Apr 12, 2008 at 9:35 AM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Sat, Apr 12, 2008 at 12:18 PM, Casey [EMAIL PROTECTED] wrote:
On Sat, Apr 12, 2008 at 9:12 AM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Fri, Apr 11, 2008 at 6:33 PM, Daniel Kolbo [EMAIL PROTECTED
Hello,
I am writing a PHP script for a local application (not web/html based).
My script is taking a longer time to execute than I want. The source
code is a few thousand lines, so I will spare you all this level of
detail.
I prefer to write in PHP because that is what I know best.
Struan Donald wrote:
* at 17/04 16:30 -0500 Daniel Kolbo said:
Hello,
I am writing a PHP script for a local application (not web/html
based). My script is taking a longer time to execute than I want. The
source code is a few thousand lines, so I will spare you all this
level of detail.
I
you could explode the string by the space, then use the ucword
function walking through the array, then implode
http://www.php.net/manual/en/function.explode.php
http://www.php.net/manual/en/function.ucwords.php
http://www.php.net/manual/en/function.array-walk.php
I don't quite understand your problem, but I use integers for any monetary
workings as you can guarantee it is accurate (obviously, you work in pence
or cents rather than GBP or USD).
Alex
Hello Alex,
I was reading through this thread, and I was curious about what methods
you use
Hello PHP community,
This question may be more for the MySQL community. If so, my
apologies, please let me know.
I am using php v 5.2.6.
I have two versions of MySQL running on my server (windows xp home sp3).
MySQL v6 is running on localhost:3306
MySQL v5.0.41 is running on
Daniel Kolbo wrote:
Hello PHP community,
This question may be more for the MySQL community. If so, my
apologies, please let me know.
I am using php v 5.2.6.
I have two versions of MySQL running on my server (windows xp home sp3).
MySQL v6 is running on localhost:3306
MySQL v5.0.41
Chris wrote:
Daniel Kolbo wrote:
Daniel Kolbo wrote:
Hello PHP community,
This question may be more for the MySQL community. If so, my
apologies, please let me know.
I am using php v 5.2.6.
I have two versions of MySQL running on my server (windows xp home
sp3).
MySQL v6 is running
Hello,
I am trying to do something like the following:
?php
function hello($var1 = 'default1', $var2 = 'default2') {
echo $var1:$var2;
}
$func= hello;
$args = 'yo','bob';
$func($args);
?
I understand why this outputs:
'yo','bob':default2
However, I want it to output:
yo:bob
Is this
Daniel Kolbo wrote:
Hello,
I am trying to do something like the following:
?php
function hello($var1 = 'default1', $var2 = 'default2') {
echo $var1:$var2;
}
$func= hello;
$args = 'yo','bob';
$func($args);
?
I understand why this outputs:
'yo','bob':default2
However, I want
Greetings,
is there a way (i swear i saw it in the documentation at one point) to
get the name of the calling scope (or function) from within another
function?
eg.
function a() {
b();
}
function b() {
echo the calling function is: . func_caller();
}
a();
where this would print
the
Stut wrote:
On 9 Dec 2008, at 19:37, Daniel Kolbo wrote:
is there a way (i swear i saw it in the documentation at one point)
to get the name of the calling scope (or function) from within
another function?
eg.
function a() {
b();
}
function b() {
echo the calling function
What is the preferred method with php to test and see if a file
[pattern] exists?
For example, i only need to search in one directory, that may have any
number of files named such as afile1.txt, afile2.txt, afile3.txt,
And also, bfile1.txt, bfile2.txt, bfile3.txt, ...
I want to see if
Daniel Kolbo wrote:
What is the preferred method with php to test and see if a file
[pattern] exists?
For example, i only need to search in one directory, that may have any
number of files named such as afile1.txt, afile2.txt, afile3.txt,
And also, bfile1.txt, bfile2.txt, bfile3.txt
Maciek Sokolewicz wrote:
Daniel Kolbo wrote:
What is the preferred method with php to test and see if a file
[pattern] exists?
For example, i only need to search in one directory, that may have
any number of files named such as afile1.txt, afile2.txt, afile3.txt,
And also, bfile1.txt
Hello,
I have a text file encoded in utf-8.
i am using fopen/fgets/echo etc..
how do i display these utf8 characters from the file on the web?
I have tried different combinations of
header(Content-Type: text/html; charset=iso-8859-1);
header(Content-Type: text/html; charset=utf-8)
and
Daniel Kolbo wrote:
Hello,
I have a text file encoded in utf-8.
i am using fopen/fgets/echo etc..
how do i display these utf8 characters from the file on the web?
I have tried different combinations of
header(Content-Type: text/html; charset=iso-8859-1);
header(Content-Type: text/html
Ondrej Kulaty wrote:
What about to try run it as service? I don't know exactly how to do that but
service programs run in background on my Win XP
Fanda d...@sidak.net pí¹e v diskusním pøíspìvku
news:7d.3d.09584.c2f7a...@pb1.pair.com...
Hi,
I am looking for some method, how to run php cli
Michael C. Yates wrote:
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
Thanks
Micheal C. Yates
I am an amateur programmer, so take my comments with a
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
?php
if (!isset($safe_flag))
{
die(hacking attempt);
}
echo You are in;
?
Suppose i executed the following php file at http://myhost.com/local.php
?php
require_once(http://otherhost.com/remote.php;);
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
?php
if (!isset($safe_flag))
{
die(hacking attempt);
}
echo You are in;
?
Suppose i executed the following php file at http://myhost.com/local.php
?php
Stuart wrote:
2009/1/7 Shawn McKenzie nos...@mckenzies.net:
Daniel Kolbo wrote:
Hello,
suppose there is a file at http://otherhost.com/remote.php that looks
like this:
?php
if (!isset($safe_flag))
{
die(hacking attempt);
}
echo You are in;
?
Suppose i executed the following php
c...@l-i-e.com wrote:
If register_globals is on (ewww!) at otherhost.com, then ?safe_flag on the
URL will get in.
This is one of the reasons why register_globals should be OFF.
NOTE:
The code you gave does not describe the circumstances whereby $safe_flag is
set. There could be all manner
Hello,
I've been using PHP and Smarty for several years now and I am happy with
this division of data from presentation. With this philosophy in
mind, i am a bit perplexed as to how to handle the text on my sites.
That is, the text is data, so i am motivated to store the text in a
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13, 2009, at 9:49 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello,
I've been using PHP
Robert Cummings wrote:
On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13
Hello,
Is it okay for me to post a message looking for programmers willing to
help out with a php project?
Thanks,
dK
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files in
the file system?
As I see it, a php programmer could change the include_path, with
ini_set(), use ../
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files in
the file system?
As I see it, a php programmer could
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello PHPers,
I am quite ignorant about file system security. I was hoping you all
could help me understand things.
How does one restrict php script from going (reading, writing) files
Tony Marston wrote:
Nitsan Bin-Nun nit...@binnun.co.il wrote in message
news:d47da0100903220910q7bb66706s6255f0fc89b98...@mail.gmail.com...
Don't forget to attach the message to the list.
Regarding the frameworks, which of them, for your opinion, will take the
fastest time to learn and get
there.
-Original Message-
From: Daniel Kolbo [mailto:kolb0...@umn.edu]
Sent: Sunday, March 22, 2009 4:54 PM
To: php-general@lists.php.net
Cc: Tony Marston
Subject: [PHP] Frameworks / obstinate?
Tony Marston wrote:
Nitsan Bin-Nun nit...@binnun.co.il wrote in message
Hello,
I understand the why $vars is not in the global scope, but i was
wondering if there was a way from within the class file to include a
file in the parent's scope?
i tried ::include('vars.php'), parent::include('vars.php'), but this
breaks syntax...
Please consider the following three
) {
extract( $GLOBALS );
include('vars.php');
echo In class $vars\n;
}
}
On Sun, Jun 14, 2009 at 1:41 PM, Daniel Kolbo kolb0...@umn.edu
mailto:kolb0...@umn.edu wrote:
Hello,
I understand the why $vars is not in the global scope, but i
Hello,
I've cleaned up my question a bit.
I want the included file which is called within a method of a class to
have the same scope as the instantiation of the class's object. That
is, i want a class to include a file in the calling object's scope. How
would one do this?
'test.php'
?php
Hello,
When a MySQL table is locked a php call of mysql_query() that requires
that table will hang as the request blocks at the MySQL server until the
table is unlocked. Is there a way to stop a mysql_query from hanging
(by setting a time limit)?
The php.ini directive max_execution_time does
Daniel Kolbo wrote:
Hello,
When a MySQL table is locked a php call of mysql_query() that requires
that table will hang as the request blocks at the MySQL server until the
table is unlocked. Is there a way to stop a mysql_query from hanging
(by setting a time limit)?
The php.ini
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote:
Hello,
When a MySQL table is locked a php call of mysql_query() that requires
that table will hang as the request blocks at the MySQL server until the
table is unlocked. Is there a way to stop a mysql_query from
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote:
Hello,
When a MySQL table is locked a php call of mysql_query() that requires
that table will hang as the request blocks at the MySQL
Tom Worster wrote:
On 6/27/09 3:15 PM, Daniel Kolbo kolb0...@umn.edu wrote:
When a MySQL table is locked a php call of mysql_query() that requires
that table will hang as the request blocks at the MySQL server until the
table is unlocked. Is there a way to stop a mysql_query from hanging
Bastien Koert wrote:
Why issue/do a lock at all? Shouldn't need a large lock at read
bastien
On Saturday, June 27, 2009, Daniel Kolbo kolb0...@umn.edu wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15
Phpster wrote:
Bastien
Sent from my iPod
On Jun 27, 2009, at 4:13 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 16:03 -0400, Daniel Kolbo wrote:
Ashley Sheridan wrote:
On Sat, 2009-06-27 at 15:15 -0400, Daniel Kolbo wrote:
Hello,
When
Hello,
How does one continue a php session on a different domain (domain B)
than the domain (domain A) that started the session?
That is, I want to hand-off a session to another domain, but I do not
see how to do this as one cannot set a cookie for another domain (for
valid reasons).
I was
Daniel Brown wrote:
On Sun, Jul 12, 2009 at 12:37, Daniel Kolbokolb0...@umn.edu wrote:
Hello,
How does one continue a php session on a different domain (domain B)
than the domain (domain A) that started the session?
Simple answer: you don't.
Extended answer: you can, but only if
Hello,
Call me a dreamer...but I got to ask.
Is there any software for helping speed up PHP by utilizing internal PHP
caching?
I am not talking about the external php cache/header control. Smarty
caching doesn't give me the control I need either.
I would like to cache to a finer level than
Thijs Lensselink wrote:
Anybody noticed php.net is down?
It's responding to pings. But no pages load.
I noticed this
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eric Butera wrote:
On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote:
Hello,
Call me a dreamer...but I got to ask.
Is there any software for helping speed up PHP by utilizing internal PHP
caching?
I am not talking about the external php cache/header control. Smarty
Daniel Kolbo wrote:
Eric Butera wrote:
On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote:
Hello,
Call me a dreamer...but I got to ask.
Is there any software for helping speed up PHP by utilizing internal PHP
caching?
I am not talking about the external php cache/header
Hello,
I know the appending concatenating assignment operator:
$str_name = Foobar;
$str_name .= Sr;
echo $str_name;//Foobar Sr
But is there a shortcut assignment operator for prepending concatenation?
$str_name = Foobar;
//$str_name =. Mr ;
// i know this is not allowed, but is there some
Andrew Ballard wrote:
On Thu, Jul 23, 2009 at 11:31 PM, Andrew Ballardaball...@gmail.com wrote:
From what I can tell, the numbers I see in WinCacheGrind
look like they are off by about a factor of 10 pretty
uniformly.
Andrew
Apparently the difference is indeed WinCacheGrind, as a number
Hello,
Is there an objected oriented programming software that can help me keep
track of my methods and properties of my objects. My memory is not what
it used to be, and i'd like to have a quick 'overview' or layout of all
the objects I have to work with. Maybe the software would even let make
Caner BULUT wrote:
Hi Daniel,
You can use Eclipse with plugin PDT or Zend Studio. They can track your
classes and methods. They can remember your methods and classes also they
have code completion abilities.
Thanks
Caner.
-Original Message-
From: Daniel Kolbo [mailto:kolb0
Hello,
Is it possible to force a string to expand variable names after the
string has been set and before the variable's been defined without
having to do a string replace or preg_replace?
for example,
?php
$str = some string and some \$var plus other stuff;
echo $str.br /;
$var = Variable
Jonathan Tapicer wrote:
Use eval, like this:
eval('$str_expanded = ' . str_replace('', '\\', $str) . ';');
The str_replace is used because you could have a inside $str and it
would break the string, if you are sure the $str has no inside you
can omit it.
Jonathan
On Wed, Jul 29,
Jim Lucas wrote:
Ben Dunlap wrote:
Jim Lucas wrote:
I expected 'no match' but get 'match'.
[8]
cut/paste your code and it works for me.
Works for me as well. I get 'no match' from PHP 5.1.2, 5.2.6, and 5.2.8. What
version do you have?
PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built:
b wrote:
On 07/29/2009 07:48 PM, Daniel Kolbo wrote:
code works (no match) for me too on php 5.2.6 build date May 2 2008
18:01:20 with dumbdows NT.
preg_match fails but for a reason other than what I think you may be
expecting. It fails b/c of the first forwards slash in $url. The regex
Merlin Morgenstern wrote:
Hi there,
I am trying to filter out content that is not ascii. Can I do this with
regex? For example:
$regex = '[AZ][09]';
if (preg_match($regex, $text)) {
return TRUE;
}
else {
return FALSE;
}
The reason I need to do
Hello,
I had a thought today while walking...why do all ideas come while
walking under the sun rather than slouching in front of the LCD's glow?
Wouldn't it be cool to develop an application that allowed one to manage
Git via PHP? I'm thinking, sorta like how the PHPMyAdmin project helps
people
Hello,
I realize this is more of an html question than a php, but I was hoping
someone here would know what's going on.
I am linking to a stylesheet and it is requiring me to use *.css
extension. I want to use a .php extension (and have the php engine
generate css). However, whenever i use a
Daniel Kolbo wrote:
Hello,
I realize this is more of an html question than a php, but I was hoping
someone here would know what's going on.
I am linking to a stylesheet and it is requiring me to use *.css
extension. I want to use a .php extension (and have the php engine
generate css
def) to add that file to the
tracking object...but it would be nice if i didn't have to modify my
existing code to see which objects and functions a script actually used,
or at least, requested and loaded into memory.
Thanks in advance,
Daniel Kolbo
`
--
PHP General Mailing List (http
Hello PHP-hipsters,
I am not sure how to phrase these questions so please bare with me.
I am thinking about performance of a single web server running Apache
(non-cluster) with php as a module.
I have a web app that requires the same php objects(classes) for each
http request.
First, I would
Hello PHPers,
I have a collection of about 60 objects (class definitions). They are
all very similar. They all share a substantial % of the same core. But
they all have slight variations as well. The approach I took was to
make an abstract core class, and each of the 60 objects extends that
Hello PHPers,
This is a two part question:
1) Is it faster to include one file with lots of code, or many separate
smaller individual files? Assume the one massive file is merely the
concatenation of all the smaller individual files. (I am assuming the
one massive file would be faster..., but
Larry Garfield wrote:
On Sunday 20 December 2009 10:45:45 am Daniel Kolbo wrote:
Hello PHPers,
This is a two part question:
1) Is it faster to include one file with lots of code, or many separate
smaller individual files? Assume the one massive file is merely the
concatenation of all
Hello PHPers,
I've learned that php doesn't support multiple inheritance, b/c if you
need multiple inheritance usually it is a sign you've got a design
imperfection...or so they say.
Well, I'm using a framework (Codeigniter), and i'm extending the core
libraries. The trouble is, I want to also
Daniel Kolbo wrote:
Hello PHPers,
I've learned that php doesn't support multiple inheritance, b/c if you
need multiple inheritance usually it is a sign you've got a design
imperfection...or so they say.
Well, I'm using a framework (Codeigniter), and i'm extending the core
libraries
Larry Garfield wrote:
On Friday 25 December 2009 8:02:06 pm Daniel Kolbo wrote:
Hello PHPers,
I've learned that php doesn't support multiple inheritance, b/c if you
need multiple inheritance usually it is a sign you've got a design
imperfection...or so they say.
Well, I'm using a framework
Hello,
I'm missing some unifying piece of the zend/php puzzle...
I understand the basics of zend engine opcode, caching the opcode,
optimizing the opcode, and caching the optimized opcode, etc... The
part I'm struggling with is somewhere in the zend world.
Under a typical php install where
Shawn McKenzie wrote:
Daniel Kolbo wrote:
Hello,
I'm missing some unifying piece of the zend/php puzzle...
I understand the basics of zend engine opcode, caching the opcode,
optimizing the opcode, and caching the optimized opcode, etc... The
part I'm struggling with is somewhere
Nathan Rixham wrote:
Daniel Kolbo wrote:
Hello,
Is there a way to see what objects and functions a script
loaded/required/used?
I could recursively loop through the globals, but if objects were unset,
then i may miss some.
I could make a 'tracking' object and every time i load/include
Hello,
Okay so PHP designers explicitly decided against multiple inheritances,
but aren't there legitimate needs for multiple inheritance in OOP?
For example, consider the following three classes (A,B,C) with the
following properties (a number is a distinct property or method).
A: 1, 2, 3
B: 1,
Larry Garfield wrote:
On Monday 28 December 2009 9:45:03 pm Daniel Kolbo wrote:
Hello,
Okay so PHP designers explicitly decided against multiple inheritances,
but aren't there legitimate needs for multiple inheritance in OOP?
For example, consider the following three classes (A,B,C
Daniel Egeberg wrote:
On Wed, Dec 30, 2009 at 01:24, Daniel Kolbo kolb0...@umn.edu wrote:
This way multiple inheritance is available for those that legitimately need
it [...]
Could you by any chance provide an example where multiple inheritance
would be required? To be honest, I've never
Daevid Vincent wrote:
-Original Message-
From: Al [mailto:n...@ridersite.org]
Sent: Wednesday, January 06, 2010 5:09 PM
To: php-general@lists.php.net
Subject: [PHP] Re: PHP programming strategy; lots of little
include files, or a few big ones?
On 1/6/2010 7:18 PM,
Hello PHPers,
I've been doing the programming thing for about 10 years now: amateur
side gigs turned into ten years pretty fast. I think i have a fairly
strong sense of object oriented design, data modeling, etc... However,
sometimes I wish I had a stronger academic understanding of the design
Hello,
I've defined a __call() method inside a class. Within the __call()
method (after testing that the method exists and is callable I am using:
call_user_func_array(array($this,$method), $args);
However, this seems to be an infinite loop (and is crashing my test
apache server). How, could
Hello,
Does PHP 'reinclude' static methods with each new instantiation of a
class that has static methods?
That is, if i have 100 objects is the static method sitting in memory 1
time or 100 times?
Thanks,
dK
`
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
I'm trying to use the debugging features of Netbeans for the first time.
The Netbeans debugger is not stopping at breakpoints. I searched the
net, I found out i wasn't the only one with such issues. However, after
going through the various posts, etc... i am still without a resolution.
tedd wrote:
At 7:04 PM -0400 7/10/10, Daniel Kolbo wrote:
Hello,
I'm trying to use the debugging features of Netbeans for the first time.
The Netbeans debugger is not stopping at breakpoints. I searched the
net, I found out i wasn't the only one with such issues. However, after
going
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot understand.
[code]
?php
class A
{
public static $a = 3;
function __construct()
{
//self::$a = $this; //[i]
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits the behaviour which I cannot understand.
[code]
?php
class A
{
public static $a = 3
Richard Quadling wrote:
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The following
example script exhibits
Richard Quadling wrote:
On 13 July 2010 09:46, Richard Quadling rquadl...@gmail.com wrote:
On 12 July 2010 22:54, Daniel Kolbo kolb0...@umn.edu wrote:
Richard Quadling wrote:
On 11 July 2010 23:19, Daniel Kolbo kolb0...@umn.edu wrote:
Hello PHPers,
I'm having some trouble understanding some
David Harkness wrote:
Ah, so assigning a reference to a variable already holding a reference
changes that variable's reference only in the same way that unsetting a
reference doesn't unset the other variables referencing the same thing, yes?
$a = 5;
$b = $a;
print $a;
5
unset($b); //
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would like to get all of the properties of $a into $b by value. Class
A extends 3 other classes. I would like a way to not have to manage a
'copy' method in B if A or one
.
On Wed, Sep 22, 2010 at 7:35 AM, Daniel Kolbo kolb0...@umn.edu
mailto:kolb0...@umn.edu wrote:
Hello PHPers,
I have:
class A {
...code
}
class B extends A {
...code
}
$a = new A();
$b = new B();
I would
On 9/24/2010 4:09 AM, Gary wrote:
Daniel Kolbo wrote:
Say you have two classes: human and male. Further, say male extends
human. Let's say you have a human object. Then later you want to make
that human object a male object. This seems to be a pretty reasonable
thing to request
On 9/24/2010 6:11 PM, Daniel Kolbo wrote:
On 9/24/2010 8:35 AM, Peter Lind wrote:
On 24 September 2010 14:22, Bob McConnell r...@cbord.com wrote:
From: David Hutto
On Fri, Sep 24, 2010 at 4:09 AM, Gary php-gene...@garydjones.name wrote:
Daniel Kolbo wrote:
Say you have two classes: human
at 8:35 AM, Peter Lind peter.e.l...@gmail.com
wrote:
On 24 September 2010 14:22, Bob McConnell r...@cbord.com wrote:
From: David Hutto
On Fri, Sep 24, 2010 at 4:09 AM, Gary
php-gene...@garydjones.name wrote:
Daniel Kolbo wrote:
Say you have two
Hello,
This is not strictly a PHP question, though i do think some members that
subscribe to this list might be able to answer this question.
Is there an open source website flowchart and wireframe software. My
google searches are not quite pulling up what I'm looking for.
I would like a piece
100 matches
Mail list logo