mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	Add syntax highlighting [skip ci]
This commit is contained in:
		@ -239,6 +239,7 @@ Encoding will use application charset and could be changed via third argument.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Merging Arrays <a name="merging-arrays"></a>
 | 
					## Merging Arrays <a name="merging-arrays"></a>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```php
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
    * Merges two or more arrays into one recursively.
 | 
					    * Merges two or more arrays into one recursively.
 | 
				
			||||||
    * If each array has an element with the same string key value, the latter
 | 
					    * If each array has an element with the same string key value, the latter
 | 
				
			||||||
@ -253,6 +254,7 @@ Encoding will use application charset and could be changed via third argument.
 | 
				
			|||||||
    * @return array the merged array (the original arrays are not changed.)
 | 
					    * @return array the merged array (the original arrays are not changed.)
 | 
				
			||||||
    */
 | 
					    */
 | 
				
			||||||
    public static function merge($a, $b)
 | 
					    public static function merge($a, $b)
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Converting Objects to Arrays <a name="converting-objects-to-arrays"></a>
 | 
					## Converting Objects to Arrays <a name="converting-objects-to-arrays"></a>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user