Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lotd79226y$location = geoip();
$call = Phone::getInstance()->dial(911);
$call->when($call->engaged, fn($conversation) => $conversation->say("injured person at {$location->address}. Attempting to clear area while awaiting backup or further instructions.")); -
@Franboo but he should call the ambulance, not the other way around
It should rather look like this:
this->call(help::ambulance); -
@ladiesman why create a new ambulance object each time when you could preallocate a couple of ambulance objects in advance and then call one from that pool? That way, it'll also arrive faster, since it spends less time allocating resources in case of an emergency
Related Rants
Some guy: "PLEASE CALL AN AMBULANCE!"
Me: Ambulance();
Still don't know what I did wrong 🤷
joke/meme
functions
ambulance