GithubHelp home page GithubHelp logo

functions have different cases about yakpro-po HOT 4 CLOSED

pk-fr avatar pk-fr commented on June 14, 2024
functions have different cases

from yakpro-po.

Comments (4)

pk-fr avatar pk-fr commented on June 14, 2024

Hi Sercan,
Thanks for using yakpro-po ... please star it if you like it...

It is a feature, not a bug!

http://php.net/manual/en/functions.user-defined.php

Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration

yakpro-po modifies case of items that are case insensitive in order to increase obfuscation!

as commented in the source code :

// case-sensitive:      variable names, constant name, array keys, class properties, labels 
// case-insensitive:    function names, class names, class method names, namespaces, keywords and constructs 

from yakpro-po.

pk-fr avatar pk-fr commented on June 14, 2024

I just saw you already stared it ;o)

from yakpro-po.

sercankd avatar sercankd commented on June 14, 2024

But its a problem for me, since those two files are connected eachother. One on the left have different case and other trying to call it with different case. It gives errors like function not found etc.

from yakpro-po.

pk-fr avatar pk-fr commented on June 14, 2024

your problems cannot be related to case ...
try a little code like this to be convinced...:

<?php
    function hello() { echo "hello\n";}
    for($i=0;$i<3;++$i) HeLlO();
?>

https://3v4l.org/nqXgC : online test for above code for many php versions

from yakpro-po.

Related Issues (20)

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.