Skip to content

Commit 53aefd1

Browse files
committed
New helper is_windows_os docs added.
1 parent 4bcbd39 commit 53aefd1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ Provides Laravel-specific and pure PHP helper functions.
7575
- [str_lower](#str_lower)
7676
- [str_upper](#str_upper)
7777
78+
- [System](#system)
79+
- [is_windows_os](#is_windows_os)
80+
7881
- [Xml](#xml)
7982
- [xml_to_array](#xml_to_array)
8083
- [array_to_xml](#array_to_xml)
@@ -437,6 +440,18 @@ $upper = str_upper('TeSt');
437440
// TEST
438441
```
439442
443+
## System
444+
445+
#### `is_windows_os()`
446+
447+
Checks if php is running on Windows OS or not:
448+
449+
```php
450+
$isWindowsOs = is_windows_os();
451+
452+
// boolean
453+
```
454+
440455
## Xml
441456
442457
#### `xml_to_array()`

0 commit comments

Comments
 (0)