摘要: 自定义函数 实现字符串转数组 <?php $str = 'I want to go home '; strToArr( $str ); function strToArr( $str ) { $arr = []; $s = ''; for ( $i=0; $i < strlen( $str ); $ 阅读全文
posted @ 2019-12-30 20:01 星河不入眼 阅读(308) 评论(0) 推荐(0)
摘要: 具体报错如下: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certi 阅读全文
posted @ 2019-12-30 19:53 星河不入眼 阅读(685) 评论(0) 推荐(1)
摘要: <?php for ($i = 1, $j = 1; $i <= 9; $i++) { if ($i > $j){ $j++; $i = 1; echo '<hr>'; } echo "$i*$j&nbsp;&nbsp;&nbsp;"; } ?> 阅读全文
posted @ 2019-12-30 19:52 星河不入眼 阅读(392) 评论(0) 推荐(1)