This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function is_valid_regex($vat,$country){ | |
// current regex function | |
return true; | |
} | |
function validate_vat($vat,$country){ | |
if(is_valid_regex($vat,$country)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
//class ParentClass | |
//{ | |
// public function getClassName() | |
// { | |
// return get_called_class() === (new \ReflectionMethod(get_called_class(), __FUNCTION__))->getDeclaringClass()->getName(); | |
// } | |
// | |
// public function getClassNameDoesntExist() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
####################################################################################################################### | |
# | |
# Updates/Install the latest PhpStorm EAP | |
# | |
# -------------------------------------------------------------------------------------------------------------------- | |
# | |
# * Retrieves the current version from the EAP wiki | |
# * If the new version is not the current version (based on symlink to PhpStorm) then updates | |
# * Creates a symlink from versioned folder to PhpStorm |
OlderNewer