[gtksourceview] php.lang: dd new PHP 8 functions



commit dd829d21a46f8ced68230c3bf0c67b425f26e0c5
Author: Jonathan <jonathan foreningshuset se>
Date:   Thu Nov 26 09:50:54 2020 +0000

    php.lang: dd new PHP 8 functions
    
    JSON support is now considered a core part of the language that's always
    available rather than being an optional module.

 data/language-specs/php.lang | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/data/language-specs/php.lang b/data/language-specs/php.lang
index 15b3008f..6c6d5bd8 100644
--- a/data/language-specs/php.lang
+++ b/data/language-specs/php.lang
@@ -264,11 +264,15 @@
       <keyword>floatval</keyword>
       <keyword>gettype</keyword>
       <keyword>intval</keyword>
+      <keyword>json_decode</keyword>
+      <keyword>json_encode</keyword>
       <keyword>print_r</keyword>
       <keyword>serialize</keyword>
       <keyword>settype</keyword>
       <keyword>str_contains</keyword>
       <keyword>str_replace</keyword>
+      <keyword>str_starts_with</keyword>
+      <keyword>str_ends_with</keyword>
       <keyword>strip_tags</keyword>
       <keyword>strpos</keyword>
       <keyword>strval</keyword>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]