Git Product home page Git Product logo

cowsay's People

Contributors

gipetto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cowsay's Issues

Doesn't wrap nicely outside of the UTF-8 encoding.

Using utf-16 characters

$obj = new CowSay\Cow("", 5);
$obj->setMessage("现在怎么棕色的牛。这不是多字节字符串的精彩演示吗?");
echo $obj . PHP_EOL . PHP_EOL;

will output

  -----
< 现在怎么棕色的牛。这不是多字节字符串的精彩演示吗? >
  -----
          \   ^__^
           \  (oo)\_______
              (__)\       )\/\
                  ||----w |
                  ||     || 

Project Fails To Load Under PHP 7.0.22

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.