I am a UCLA graduate and a Zend-certified engineer who, in addition to problem-solving, enjoys speaking at code camps, PHP meetups and technical conferences.

php|architect published several of my articles on subjects ranging from email verification to web-based retrieval, to the language’s support for closures. Web and PHP Magazine published my article about equality. I also guest-blogged for Zend’s DevZone about “PHP’s Remarkable Hexadecimals.”

During my adventures in PHPland, I have come to understand that the underlying source code, predominantly in C is something that PHP developers ought to know more about.  So, as I manage to enlarge my understanding of the code base, I am happy to share what I learn. Also, I’ve become aware that to only know PHP is insufficient; one must learn about other languages, too.  As time permits, I intend to contrast PHP with Perl, Python and/or Ruby or other languages, such as JavaScript.

9 responses

26 06 2010

Hello. I posted a comment yesterday on your latest blog entry. Today I came back to see if you had a response but the comment is now deleted. I don’t remember exactly what I wrote but I know that I was confused about the benefits of your modifications to the white list code. I apologize if I was offensive in my post.

It is more work to do something than to do nothing. So I am coming from a perspective that there is a reason for each of your progressive code examples. While I work with PHP almost daily I learn new things about it regularly – most times due to the circumstance at hand. The biggest concerns that I have before adopting new code practices is answering “Why am I doing it this way?” and “What am I giving up to do it this way?”

26 06 2010
Sharon Lee Levy

Chuck, thanks for visiting my blog. All your comments are there but just required a review by the moderator, uh that’s me, who needed to attend to some stuff in the real-world and took a day off from the computer to do so. I enjoyed reading your comments and approved all of them as you will note. I’ll also respond to your comments as time permits this weekend.

26 06 2010
Sharon Lee Levy


I welcome being challenged in my thinking. The examples that I chose are intended to indicate a variety of ways for including a file based on a GET variable. I like the questions you ask yourself and would suggest adding one more “What is there to gain by doing it this way?”

29 06 2010
John Brasher


Had a good time talking to you last week.

I haven’t looked at your blog before, thanks for the interesting discussions.

29 06 2010
Sharon Lee Levy


Enjoyed speaking with you as well. Glad you like my blog.

24 02 2014
Angelo Saleh

I was in the 12th annual Southern California Linux Expo I were in you presentation of the analysis you made of php.
May be you can help me with the following:
I have a web app made in drupal 7 I would like to package the entire app as a phar file and put it into the document root but I am having errors when I load the phar file.
The purpose of all this is to make the deployment process easier.
I would love to have your advice about it how crazy is it?
Thanks in advance.

24 02 2014
Sharon Lee Levy

Thanks for contacting me. Please see my reply below to S. Hariharan.

24 02 2014
Subramanian Hariharan

Hi Sharon

Thanks for you talk at Scale. It was really good. I was thinking about PHAR archive for deployment of a Drupal application. Would you please share your thoughts on going that route ?

24 02 2014
Sharon Lee Levy


Thanks for your comment; I’m glad you liked my talk. I am intrigued by your idea of using a PHAR archive to deploy a Drupal app. But it looks like this practice apparently is discouraged in the Drupal community; see https://drupal.org/node/1683528.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: