Abusing PHP's Easter Eggs: Revealing PHP Versions
1:09 PMIf you add the value "?=PHPE9568F36-D428-11d2-A769-00AA001ACF42" to the end of any URL that is a PHP page, you will see a funny picture on *most* servers. Note this trick does not work on big sites like Facebook.
There is a hidden function in PHP, which is NOT documented in php.net online manual. php_egg_logo_guid().
The function is defined as a macro preprocessor in php-src/ext/standard/info.h around line 54,
?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 is interesting. Below are 6 different images that will be displayed depending on the PHP version.
If the first brown dog appeared, PHP Version 4.3.0 - 4.3.10
If the black dog appeared, PHP Version is PHP Versions 4.3.11 - 4.4.6; and 5.0.4 - 5.1.2
If colored php logo, PHP Version 5.1.3 - 5.2.13
The guy with breadsticks means, PHP Version 4.0.0 - 4.2.3
If the bunny appeared, PHP Version 5.0.0 - 5.0.3
Or else, if the elephant appeared, PHP Version 5.3.0 - current
And easy as that, we have our PHP version range.
the easter eggs also contain, ?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 for PHP credits.
which is almost very similar interface of the phpinfo() page.
Also?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 to identify the zend engine php uses, which is an alternative way of version identification depending on the logo.
Out of Topic, People need to listen to this amazing song. I loved it.
Happy Hacking :)
25 comments
Awesome article. thanks for sharing.
ReplyDeletethe song, thanks
ReplyDeleteBluehost is the best web-hosting provider with plans for all of your hosting needs.
ReplyDeleteNice it seems to be good post... It will get readers engagement on the article since readres engagement plays an vital role in every blog.. i am expecting more updated posts from your hands.
ReplyDeleteiOS Training in Chennai
Android Training in Chennai
php Training in Chennai
You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
ReplyDeletePHP training in chennai
Thanks, great post. I find your opinion quite interesting, but the other day I stumbled upon a completely different advice from another blogger, I need to think that one through, thanks for posting.
ReplyDeleteearn money online without investment
You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
ReplyDeleteAndroid App Development Company
great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
ReplyDeleteweb design Company
web development Company
web design Company in chennai
web development Company in chennai
web design Company in India
web development Company in India
I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
ReplyDeleteiOS App Development Company
iOS App Development Company
All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates…
ReplyDeleteWeb Designing Training in Chennai|Java Training in chennai |Python Training in Chennai
I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
ReplyDeleteFitness SMS
Fitness Text
Salon SMS
Salon Text
Investor Relation SMS
Investor Relation Text
it is really amazing...thanks for sharing....provide more useful information...
ReplyDeleteMobile app development company
It is very post,thanks for sharing.
ReplyDeletetop mobile apps development company
mobile apps development company in Mumbai
Android app development company India
iPhone apps development companies India
iOS app development companies
Windows apps development companies Noida
iam regular reader of your blog and no doubt it all stuff is awesome. The best thing about your sharing and posting is that you always provide content that is helpful for both the newbie and experts. Looking for more stuff and tutorials.
ReplyDeleteWhite Label Website Builder
great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
ReplyDeleteweb design Company
web development Company
web design Company in chennai
web development Company in chennai
web design Company in India
web development Company in India
very helpful post for those who are new and thinking to start a blog site.Your posts are very helpful and creative. I have atlast opened a blog site being inspired from your articles…
ReplyDeleteIOT Application Development Company
artificial intelligence company India
best automation company India
machine learning company India
Deep Learning company in India
Data science company in India
Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving..
ReplyDeleteTexting API
Text message marketing
Digital Mobile Marketing
Sms API
Sms marketing
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
ReplyDeleteMobile Marketing Service
Mobile Marketing Companies
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here. php training in chennai
ReplyDelete
ReplyDeleteIt is a very nice article including a lot of viral content. I am going to share it on social media. Get the Cold Pressed Oil
Thanks a lot for sharing this with all of us, I like it and we can communicate. Do you need buy app ratings and reviews. To boost app ranking and double app downloads now.
ReplyDeleteNice and good informative article, thanks for sharing your valuable ideas, keep rocks.Android Training Institute in Chennai | IOS Training in Chennai | Online Android Training in Velachery
ReplyDeletei am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up
ReplyDeletePSD to Wordpress
wordpress website development
Super !! Very Nice Article I have got happy to read this article. Thanks for shared this article.
ReplyDeleteNice article Thanks for sharing this article Wonderful information from this website Thanks !!!
ReplyDeleteNote: Only a member of this blog may post a comment.