Comments (4)
I have created a branch "files" (see #102) and I'm working on this branch to implements all the is_* about files:
For now, we have:
is_dir()
;is_file()
;file_exists()
;is_link()
;is_readable()
;is_uploaded_file()
;is_writeable()
;
I have to do:
is_executable()
;
I hope today I can finish this.
from validation.
Could you link to documentation please?
This issue was specifically in reference to Variable handling Functions
Listed here with tics for those which are correctly implemented, a another name where name deviation apply or if another method is used to accomplish the same. If nothing was mentioned this may not be implemented yet.
- empty — Determine whether a variable is empty
NotEmpty - is_array — Finds whether a variable is an array
Arr - ✓ is_bool — Finds out whether a variable is a boolean
- is_callable — Verify that the contents of a variable can be called as a function
Callback - ✓ is_float — Finds whether the type of a variable is float
- is_double — Alias of is_float
- is_real — Alias of is_float
- is_int — Find whether the type of a variable is integer
Int uses is_numeric - is_integer — Alias of is_int
- is_long — Alias of is_int
- is_null — Finds whether a variable is NULL
NullValue - ✓ is_numeric — Finds whether a variable is a number or a numeric string
- ✓ is_object — Finds whether a variable is an object
- is_resource — Finds whether a variable is a resource
- is_scalar — Finds whether a variable is a scalar
- ✓ is_string — Find whether the type of a variable is string
- isset — Determine if a variable is set and is not NULL
NotEmpty
There exists several discrepancies where different naming was used or the correct name but alternative methods were used to accomplish the same.
The complete list of is* functions would probably looks like this as of date:
- is_a
- ✓ is_array
- ✓ is_bool
- ✓ is_callable
- ✓ is_dir
- ✓ is_double
- ✓ is_executable
- ✓ is_file
- is_finite
- ✓ is_float
- is_infinite
- is_int
- is_integer
- ✓ is_link
- is_long
- is_nan
- is_null
- is_numeric
- is_object
- ✓ is_readable
- ✓ is_real
- is_resource
- is_scalar
- is_soap_fault
- ✓ is_string
- is_subclass_of
- ✓ is_uploaded_file
- ✓ is_writable
- ✓ is_writeable
from validation.
this issue have 10 months, it's up to date? I'll get some
from validation.
@leonnleite Still up for grabs. If you can fill in the blanks for us that would be awesome!
Shout if you need a hand with anything...
Have fun!
from validation.
Related Issues (20)
- Is there a roadmap or future plan for this repository? HOT 10
- filterVal not correct working with FILTER_VALIDATE_INT HOT 1
- CountryCode validation for Montenegro HOT 2
- IntVal: ctype_digit gives a deprecated notice in PHP 8.1 HOT 3
- ctype_digit deprecation notice HOT 1
- Release 2.2.4 HOT 2
- Roadmap to 2.3 HOT 13
- Code coverage in local environment HOT 2
- [documentaiton] Validation for a full array of data HOT 3
- Formatter inconsequently stringifies values HOT 6
- IBAN Validation with non-breaking spaces HOT 1
- How do custom validation rules throw custom error messages? HOT 2
- How to compare two field HOT 1
- DateTime validation fails on valid ISO-8601 timestamp HOT 1
- phone() validation incorrectly invalidates valid UK phone numbers HOT 2
- phone() in 2.3 dont work correctly HOT 13
- RFC 3339 Z suffix no longer works with date-time validation in 2.3 HOT 16
- Date-related rules are not working today HOT 2
- Unexpected behavior with the country code rule in 2.3 HOT 4
- Roadmap to 3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validation.