Prepare all the ingredients.
Add the cooking oil to a wok over medium heat. Let it warm up before cracking the egg over the wok. Cook the egg sunny-side-up style for 1.5 to 2 minutes, or until brown and crispy along the edges. Scoop some hot oil and pour over the yolk while cooking it. Remove from the wok and set aside.
Add the garlic to the wok and fry for 1.5 minutes, or until crispy and golden brown.
Add all the minced beef, stirring and spreading it evenly in the wok.
Add salt, sugar, fish sauce and oyster sauce. Stir fry for 45 seconds, or until the seasonings are well-distributed and the beef is well-cooked.
Add the red chillies and stir fry for 5 to 10 seconds to infuse the chilli flavours.
Taste and adjust. When it's perfect, add the basil leaves and mix for 30 seconds, or until just combined. Switch off the heat.
Dish out onto a plate of rice, and top with the crispy fried egg. Serve with chopped chillies drizzled in fish sauce.