class Foo { public static $flag_status = array( 'foo', 'bar' ); Const OT_UPGRADE_1 = 1; Const OT_UPGRADE_2 = 2; } // 静态属性 $name_attr = 'flag_status'; ...
分类:
其他好文 时间:
2021-03-05 13:15:20
阅读次数:
0
一维数组的动态和 自己的解法 public static int[] runningSum(int[] nums) { int[] resArr = new int[nums.length]; int temp = 0; for (int i = 0; i < nums.length; i++) { ...
分类:
其他好文 时间:
2021-03-05 13:05:12
阅读次数:
0
is_null , empty , isset 1、is_null() 判断是否为null,什么时候变量值为null? 1.$n; //声明但为初始化 2.$n =null ; //初始化为null 用is_null($n)来判断返回true,其他函数全部返回false 2、empty()判断值是否 ...
分类:
Web程序 时间:
2021-03-05 13:01:39
阅读次数:
0
public function downimg() { $path = 'E:/phpstudy_pro/WWW/pachong/public/uploads/img/'; $img ="https://zy.yaozh.com/instruct/imagesout/TB1_wMKSpXXXXalX ...
分类:
Web程序 时间:
2021-03-04 13:34:55
阅读次数:
0
File upload XSS Description This script is possibly vulnerable to XSS (Cross-site scripting). The web application allows file upload and Acunetix was ...
分类:
其他好文 时间:
2021-03-04 13:34:27
阅读次数:
0
除自身以外数组的乘积 题目: 给你一个长度为 n 的整数数组 nums,其中 n > 1,返回输出数组 output ,其中 output[i] 等于 nums 中除 nums[i] 之外其余各元素的乘积。 示例: 输入: [1,2,3,4] 输出: [24,12,8,6] 提示:题目数据保证数组之 ...
分类:
编程语言 时间:
2021-03-04 13:33:58
阅读次数:
0
1、安装easywechat composer require "overtrue/laravel-wechat:^6.0" 2、生成配置文件 php artisan vendor:publish --provider="Overtrue\LaravelWeChat\ServiceProvider" ...
分类:
微信 时间:
2021-03-04 13:25:03
阅读次数:
0
今天无聊,用php封装了一套比较简单的http请求类 细节方面可以再优化 class Creeper { public $url; public $header; public $text; public $responseHeader; public function __construct($u ...
分类:
Web程序 时间:
2021-03-04 13:21:20
阅读次数:
0
preg_match绕过 数组绕过 preg_match只能处理字符串,当传入的subject是数组时会返回false PCRE回溯次数限制 参考p神文章:https://www.leavesongs.com/PENETRATION/use-pcre-backtrack-limit-to-bypas ...
分类:
Web程序 时间:
2021-03-04 13:18:28
阅读次数:
0
import java.io.File; import java.io.IOException; /* 获取指定文件夹下所有文件名并打印输出, */ public class FileDemo01 { public static void main(String[] args) throws IOE ...
分类:
编程语言 时间:
2021-03-04 13:11:12
阅读次数:
0