Display a list of all PHP classes that are called statically

find . -name "*\.php" | xargs grep -o --color "\w\+::\w\+" | cut -d":" -f2 | sort | uniq -c
Searches all .php files for a static instantiation of a class and displays the class names along with their frequencies.

5
By: root
2009-01-20 23:18:06

What Others Think

I missed this topic during my PHP classes and I am so much happy that I have found accurate information here about that topic. Now I can make assignments easily which I was assigned by my programming teacher. Well, I was thinking to design my website and my friend sent me https://www.worknplay.co.kr/Story/Detail/Article/534 article in which I came to know about the importance of fonts for a website and how they help to engage with the audience.
HayleyRice · 232 weeks and 3 days ago
Thank so much! https://wordgames.gg/dordle
chanvova · 154 weeks and 3 days ago
Thank so much! dordle
chanvova · 154 weeks and 3 days ago
One of the must-have applications is word unscrambler, which supports intellectual word games
yangyeo339 · 137 weeks and 2 days ago
Play connect 4 for free online
blabling2 · 109 weeks and 2 days ago
Thanks a lot for your sharing. Let's play the Fnaf to relax
marryjanes · 105 weeks and 3 days ago
Wordle's gameplay is both addictive and satisfying. https://wordlenytimes.net/
subhanakhtar · 60 weeks and 4 days ago
Wordle's gameplay is both addictive and satisfying. wordle nytimes
subhanakhtar · 60 weeks and 4 days ago
By the end of 2020, EVW is expected to have finished 10 geometry dash subzero Extreme Demons in total.
adsta · 50 weeks and 3 days ago
There is definitely a lot to find out about this paper minecraft subject. I like all the points you made.
DylanWalker · 46 weeks and 1 day ago
This strange but fun new clicker game on Steam, called banana game, has taken the platform by storm. The game, which came out in April 2024, is all about clicking on a banana.
Tolido1 · 38 weeks and 6 days ago
Get ready for some football fun with Retro Bowl College. This retro-inspired game lets you take control of a football team, drafting players, calling plays, and leading your team to victory. The combination of pixel art graphics and strategic gameplay ensures an exciting experience for all football fans.
andree23 · 30 weeks and 5 days ago
Using the Block Blast Solver regularly will improve your understanding of the game’s patterns, helping you play more strategically and achieve consistent success.
lucidam · 30 weeks and 2 days ago
Monkey Mart Game offers an enjoyable experience for all types of players.
sophia2005 · 26 weeks and 5 days ago
As if all of these features weren't enough, the Drift Hunters group is ready to welcome any new drift hunters fans.
drownedafter · 26 weeks and 2 days ago
[url=https://poorbunny76.github.io/]poor bunny[/url] is a standout indie game that attracts players with its simple yet fun gameplay. Players control a rabbit on a journey to find food and avoid traps.
poorbunny_game12 · 7 weeks and 2 days ago
poor bunny is a standout indie game that attracts players with its simple yet fun gameplay. Players control a rabbit on a journey to find food and avoid traps.
poorbunny_game12 · 7 weeks and 2 days ago
melon playground is a fun simulation game where players can create and interact with objects in a virtual world.
poorbunny_game12 · 4 weeks and 2 days ago
retro bowl is a sports video game, specifically rugby, developed by New Star Games
poorbunny_game12 · 4 weeks and 1 day ago
A lot of people have taken notice of your blog. You did an excellent job of making it interesting, so now I see why [wacky flip game](https://wackyflip.io).
Wackyflip · 3 weeks and 2 days ago
Your writing really caught my attention because it's both engaging and easy to follow. I've come across many articles online speed stars , but yours stands out in a good way. I truly enjoyed reading it and look forward to more of your work.
jame2000 · 2 weeks ago
This is a great resource! I totally understand that "aha!" moment when you finally grasp a concept. Good luck with your assignments. Speaking of design and engagement, I've been exploring different ways to make websites more interactive lately. For example, adding subtle animations can really enhance the user experience. It's kind of like how the gameplay in Drift Hunters keeps you hooked with its simple yet satisfying mechanics. Font choices are definitely just one piece of the puzzle, but a very important one!
Tyle4 · 1 week and 1 day 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: