gipetto / cowsay Goto Github PK
View Code? Open in Web Editor NEWPHP port of CowSay because, oh, hell, I don't know why...
License: MIT License
PHP port of CowSay because, oh, hell, I don't know why...
License: MIT License
Using utf-16 characters
$obj = new CowSay\Cow("", 5);
$obj->setMessage("现在怎么棕色的牛。这不是多字节字符串的精彩演示吗?");
echo $obj . PHP_EOL . PHP_EOL;
will output
-----
< 现在怎么棕色的牛。这不是多字节字符串的精彩演示吗? >
-----
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Hello. I deployed this project to my website and installed the dependencies via composer, but I got these following errors when including the Calf.php file
Warning: include(): Failed opening 'cowsay/src/tests/vendor/demo.php' for inclusion (include_path='.:/usr/shar/php') in/var/www/html/assets/template/dependencies.php on line 3
Fatal error: Uncaught Error: Class 'Cow' not found in /var/www/html/pages/about/index.php:23 Stack trace: #0 {main} thrown in /var/www/html/pages/about/index.php on line 23
Not sure if this is only occurring in my own environment, so I submitted here in case it's not exclusive. I can also include error logs if you need them to diagnose the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.