摘要:
<?php// 要求: 给定一维数字数组,拼接获取最大数字,如 [4345,43,4,98,9] > 9984434543 $arr = [43,2,12,46,9,98,99,54];$newArr = [];$arr = array_map('strval',$arr); $len = coun 阅读全文
摘要:
<?php$string = 'The quick brown fox jumps over the lazy dog.';$patterns = array();$patterns[0] = '/quick/';$patterns[1] = '/brown/';$patterns[2] = '/f 阅读全文