nyholm / why
Matlab Why 函数的端口
1.0.1
2020-08-22 12:01 UTC
Requires
- php: ^7.3 || ^8.0
Requires (Dev)
- symfony/phpunit-bridge: ^4.4 || ^5.0
This package is auto-updated.
Last update: 2024-08-22 21:01:12 UTC
README
Matlab 中有一个彩蛋,当你输入 why
时,你会得到一个有趣的答案。这个项目深受 Matlab 函数的启发。
安装
composer require nyholm/why
使用
$why = new \Nyholm\Why\ReasonGenerator(); echo $why->generate(); // Stupid question! echo $why->generate(); // To please the good programmer. echo $why->generate(); // For the love to some product manager. echo $why->generate(); // The young terrified engineer helped some rich and good terrified and very smart and rich kid. echo $why->generate(); // The devil made me do it. echo $why->generate(); // The tall tall programmer insisted on it.