Giter VIP home page Giter VIP logo

php-pack's People

Contributors

20uf avatar gmsantos avatar h4cc avatar jean-pasqualini avatar jlbarat avatar l-vo avatar lex111 avatar lolautruche avatar mazeikis avatar mbarbey avatar mickaelandrieu avatar ntoniazzi avatar oktapodia avatar rodrigobb avatar seregazhuk avatar stollr avatar t0mas3 avatar theratg avatar velikanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-pack's Issues

clarification regarding question (pcre matching)

Regarding https://github.com/certificationy/php-pack/blob/master/data/questions.yml#L697

The question doesn't (explicitly) state that it is about matching the string as a whole. The answer flagged correct is the only one that does that ... however if it is just about matching the string (i.e. partially) then

php > var_dump(preg_match('/^[hp1-5]*\-.*/i', 'PhP5-rocks'));
int(1)
php > var_dump(preg_match('/[hp1-5]*\-.?/', 'PhP5-rocks'));
int(1)
php > var_dump(preg_match('/[hp][1-5]*\-.*/', 'PhP5-rocks'));
int(0)
php > var_dump(preg_match('/[PhP]{3}[1-5]{2,3}\-.*$/', 'PhP5-rocks'));
int(0)
php > var_dump(preg_match('/[a-z1-5\-]*/', 'PhP5-rocks'));
int(1)

... two more answers are correct.

So IMHO either the question should explicitly state that it is about matching the whole string or otherwise two extra answers should be flagged correct, hence changing it to a multiple choice question.

Email address public?

Hello,

In the travis configuration, we find an email address.
Why not hide it? Because we do not need to know it :)

Valid for all projects (symfony-pack, etc)

Regards,
Maxence

Question error

LINE - 405
correct answer from localhost testing is:
Notice: Undefined variable: data in C:\xampp\htdoc...
0

question: |
            Assuming UTF-8 encoding, what is the value of $count?
            $count = strlen($data);
answers:
  - { value: '0', correct: false }
  - { value: '4', correct: false }
  - { value: '5', correct: true }
  - { value: '7', correct: false }

but if you put $data inside single quotes '' than result is 5.
--> '$data'

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.