Analyse a PHP file for instantations and static calls

grep -o "\(new \(\w\+\)\|\w\+::\)" file.php | sed 's/new \|:://' | sort | uniq -c | sort
This grabs all lines that make an instantation or static call, then filters out the cruft and displays a summary of each class called and the frequency.
Sample Output
1 parent
1 product_Item
1 promotion_Base
1 swc_Response
2 product_ViewHelper
2 product_ViewTransformer
4 promotion_Tab
5 site_Template
6 self

-3
By: root
2009-01-26 12:08:47

What Others Think

home health care las vegas I was just wondering... I'm an android user now but I want to change it to that. How can I get started?
yeoyeo · 80 weeks and 1 day ago
and on they went, till the activity was pretty done, and the footwear stood equipped to be used upon the desk. this become long before dawn; and then they bustled away as short as lightning. voip phone system
andomthe · 74 weeks and 2 days ago
Make decisions now as to what you will use and what you will discard. This is harder than you might think master-paper.com because often interesting evidence you have unearthed has to be omitted simply because it isn’t relevant.
yukilo666 · 72 weeks ago
All the faces in the world are mirrors. What kind of reflections do you see in the faces of the people you meet? voip phone system service provider
giaome · 71 weeks and 3 days ago
All the faces in the world are mirrors. What kind of reflections do you see in the faces of the people you meet? voip phone system service provider
giaome · 71 weeks and 3 days ago
Streaming is a constant telemedicine app features transmission of an audio and video file from a server to the client. In other words, streaming happens when you listen to music or watch videos on the Internet.
bebasik · 70 weeks and 2 days ago
Yes, you are right, streaming is a constant telemedicine app features transmission of video files
MorrisCrause · 66 weeks and 5 days ago
awesome. learned alot. keep posting more fresno painters
looneyhans · 66 weeks and 3 days ago
awesome. learned alot. keep posting more fresno painters
looneyhans · 66 weeks and 3 days ago
In case you have realized that you https://www.thesiswritingservice.com/ need your essay to be delivered earlier than you have specified in the order form, contact our customer support team.
bebasik · 62 weeks and 6 days ago
As a PHP developer, this site is very helpful for me. cbd gummies for sleep There are loads of things to learn from this site. Also the solutions for many issues regarding various frameworks and FAQs here to learn. I appreciate the creator of this site.
TwanGrey · 58 weeks and 5 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. [url=http://equityflare.com/]Invested in Impact[/url]
026unoaqzh · 41 weeks and 5 days ago
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! http://www.iscapoolcare.co.uk/SwimmingPoolWater/pool-water-cloudy">More about the author
026unoaqzh · 39 weeks and 2 days ago
Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir   Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir
seofox · 27 weeks and 2 days ago
Cricut.com/setup is the cutting machine which is also known as Cricut Design Space. Here one can cut the fabric, paper, hardest material, etc. It also offers cutting, scoring, writing, and adding various effects on the Design. Cricut.com/setup
wincricut · 8 weeks ago
Cricut.com/setup is the cutting machine which is also known as Cricut Design Space. Here one can cut the fabric, paper, hardest material, etc. It also offers cutting, scoring, writing, and adding various effects on the Design. Below we are going to see the process to create an ID, Downloading and installing the Cricut design space software or application on Android devices and Windows devices. Cricut.com/setup Cricut design space Cricut maker machine
wincricut · 8 weeks ago
buy psychedelics online buy weed online buy the best psychedelics here i buy weed online here can i buy pills online here how to order pills online buy pills legitimately online here where can i buy pills online where can i buy weed online how to buy weed online where can i buy weed online pills free classified for sale in usa pain pills for sale in usa buy pills online here kratom pills for sale legal psychedelics to buy online in the us can i buy psychedelics online buy psychedelics online with bitcoin buy shrooms and pills online psychedelics you can buy online psilocybin mushrooms for sale buy legal psychedelics online usa buy sex pills online here psychedelics you can buy legally online where can i buy psychedelics online buy psychedelics mushrooms online buy psychedelics online buy psychedelics online buy psychedelics online canada buy legal psychedelics how to buy psychedelics online buy pills online here where to buy psychedelics online how to order psychedelics online Order shrooms capsules online buy mushrooms online usa pills free classified for sale in usa Shrooms for sale usa sleeping pills for sale usa buy pills pills for sale in usa 1000 pills oxycodone for sale ketamine-crystals for sale ketamine for sale buy the best pills here ketamine-powder for sale near me psychedelics for sale online buy pills online here best psychedelics for sale oregon psychedelics for sale legal psychedelics for sale uk psychedelics-mushrooms for sale LSD for sale magic mushrooms for sale mushrooms for sale buy psychedelics online now where can i buy shrooms online buy mdma-crystal online buy the best shrooms here buy pills & psychedelics online buy psychedelics online buy pills & mushrooms online here buy DMT online here how to order weed online where can i buy crystal online buy weed and pills online buy the best cocaine here buy magic-mushrooms online buy ibogaine online here buy pills online here buy N-N DMT online here how to order psychedelics online where can i buy chocolate bar online psychedelics for sale buy psychedelic mushrooms for sale buy pills online buy pills online now where can i buy shrooms online buy choco bars and pills online buy the best shrooms here mushrooms for sale buy shrooms online here buy mushrooms online here buy DMT online here how to order Shrooms online Mushrooms for sale Buy mushrooms online buy the best Shrooms here buy magic-mushrooms online buy ibogaine online here buy DMT online here buy DMT online how to order psychedelics online where can i buy mushrooms Order mushrooms online Buy Penis Envy buy mushroom capsules online buy pills online For Sale buy mushrooms online here buy pills online here top psychedelis for sale how to order psychedelics buy psilocybe Shrooms online buy the best mushrooms here i buy mushrooms online here can i buy Shrooms online how to order shrooms online buy mushrooms legitimately online here where can i buy chocolate online we do supply thc cartridges,wax oil, Psychedelics,top shelf marijuana of all varieties hit me for more +1(856 437 0583) buy medical marijuana online buy Shrooms online here buy pills online here marijuana For Sale buy psychedelics online here how to order psychedelics online where can i buy psychedelics online buy shrooms and pills online buy the best weed here top psychedelics products available buy the best Psychedelics here Buy Top Pills And Psychedelics Online Psychedelics For Sale buy the best psychedelics products online buy weed,carts,edibles,wax,shatter and more online buy the best weed here i buy weed online here can i buy weed online here how to order weed online buy pills legitimately online here where can i buy pills online where can i buy weed online how to buy weed online where can i buy weed online buy everything weed online buy the best weed here i buy weed online here can i buy weed online here how to order weed online buy weeed legitimately online here where can i buy kush online where can i buy weed online how to buy weed online buy weed buy top shielf marijuana online buy kush online buy OG Kush buy psychedelics online here buy pills and psychedelics online here buy pills online here buy Moonrock online buy the best weed here buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy medical marijuana online buy weed online here buy weed online here marijuana For Sale where can i buy pills online where can i buy weed online how to buy weed online where can i buy weed online buy everything weed online buy the best weed here i buy weed online here can i buy weed online here how to order weed online buy pills legitimately online here where can i buy pills online where can i buy weed online how to buy weed online buy weed buy top shielf marijuana online buy kush online buy OG Kush buy psychedelics online here buy pills and psychedelics online here buy pills online here buy Moonrock online buy the best weed here buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy marijuana online now buy pills and psychedelics online here buy pills online here buy Moonrock online buy the best weed here buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy medical marijuana online buy weed online here buy Carts online here marijuana For Sale buy weed online here marijuana For Sale where can i buy pills online where can i buy weed online how to buy weed online where can i buy weed online buy everything weed online buy the best weed here i buy weed online here can i buy weed online here how to order weed online buy pills legitimately online here where can i buy pills online where can i buy weed online how to buy weed online buy weed buy top shielf marijuana online buy kush online buy OG Kush buy psychedelics online here buy pills and psychedelics online here buy pills online here buy Moonrock online buy the best weed here buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy medical marijuana online buy weed online here buy shatter and wax online marijuana For Sale buy marijuana online now buy weed,carts,THC oil,CBD & more online buy pills online here buy Moonrock online buy the best weed here buy medical marijuana online buy weed online here buy cannabis online marijuana For Sale buy medical marijuana online buy weed online here buy Carts online here marijuana For Sale we do supply thc cartridges,wax oil, Psychedelics,top shelf marijuana of all varieties hit me for more +1(856 437 0583) buy medical marijuana online buy weed online here buy pills online here marijuana For Sale buy weed online here how to order weed online where can i buy weed online buy weed and pills online buy the best weed here top psychedelics products available buy the best weed here buy the best pills and psychedelics onlne here buy the best weed online we do supply thc cartridges,wax oil, Psychedelics,top shelf marijuana of all varieties hit me for more +1(856 437 0583) buy medical marijuana online buy Shrooms online here buy pills online here marijuana For Sale buy psychedelics online here how to order psychedelics online where can i buy psychedelics online buy shrooms and pills online buy the best weed here top psychedelics products available buy the best Psychedelics here Buy Top Pills And Psychedelics Online Psychedelics For Sale buy the best psychedelics products online
andersonbrady787 · 5 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: