Search found 3 matches

by mattw
Thu Mar 20, 2008 1:01 pm
Forum: PHP - Code
Topic: looping an associative array
Replies: 3
Views: 232

Re: looping an associative array

Foreach is probably a better choice:   foreach ($rf as $val) {   print $val . "<br />"; }   You can skip the $key portion if you're not using it. You can also do:   while (list($key,$val) = each($rf)) {   print $val . "<br />"; }   list() can be useful for looping arrays of assoc...
by mattw
Thu Mar 20, 2008 12:49 pm
Forum: General Discussion
Topic: PHP salary in US?
Replies: 23
Views: 4500

Re: PHP salary in US?

Most PHP developer jobs are running between $75K and $95K for seasoned PHP5 OOP and LAMP wizards where I am from. I happen to be from just north of the heart of Silicon Valley. Elsewhere the salary ranges can go as low as $35K (Gulf states, midwest, etc) but tend to hover right around $55K to $75K....
by mattw
Thu Mar 20, 2008 12:40 pm
Forum: General Discussion
Topic: Open source projects going commercial
Replies: 6
Views: 613

Re: Open source projects going commercial

Since you own the code, you can do what you like. Once you have released source code under the GPL, it is effectively GPLed for good at that version (same with other licenses such as BSD, in general). However, you can change future patches to commercial. At that point, your changes are not available...