File modules/dsl/standard/ArrayWrapper.class.php
Last commit: Tue Jul 19 00:10:19 2022 +0200 Jan Dankert New: Secure Flag for Script Interpreter which is enabled by default.
1 <?php 2 namespace dsl\standard; 3 4 use dsl\context\BaseScriptableObject; 5 6 class ArrayWrapper extends BaseScriptableObject 7 { 8 public function of() { 9 10 return func_get_args(); 11 } 12 13 14 public function __toString() 15 { 16 return 'Array'; 17 } 18 19 20 public function fill( $value,$start,$count) 21 { 22 return array_fill( $value,$start,$count ); 23 } 24 25 26 public function isArray( $val ) 27 { 28 return is_array( $val ); 29 } 30 31 32 }
Downloadmodules/dsl/standard/ArrayWrapper.class.php
History Tue, 19 Jul 2022 00:10:19 +0200 Jan Dankert New: Secure Flag for Script Interpreter which is enabled by default.