how can reflection get the prototype name instead of the value. such as sample code, how do I get the value represented by "CRTINT " instead of CRTINT? Thank you. <?php echo ; define( CRTINT , 1120 ); class test{ public $age1 = CRTI...
whether the fields in the data structure returned by the backend have no information need to return this key? for example, there is a list, in the list result. If the list is empty, does the backend not return the list field? how is it reasonable? ...
ask a previous practice first function me{ } assume that this function is introduced at the beginning of every page , but it is introduced even though most pages do not need it. and I write functions as classes + namespace to use , but each page sti...
system and PHP versions system: Centos 64-bit PHP 7.2 URL: http: php.net manual en func. PHP Code: <?php $a = PHP_INT_SIZE; $b = PHP_INT_MAX; $c = PHP_INT_MIN; echo " $a:", $a . " n"; echo "...
on the web side, uploading files below 1G to oss, is completely normal, while uploading files above 1G fails. the parameter of policy uploaded has been set to a maximum of 5G. Have you encountered anything ? ...
I encountered some problems in the process of reading the Slim source code. After reading the source code, I looked at the official document application and wanted to understand the application process, such as the implementation process of routing midd...
find the easiest way to read all the data from the database in dictionary format, and then insert the database with the same structure. 1 21020-30 3insert into table () values 4thinkphp $sql->data($arr)->add(); python ...
running php server.php start in the controller reports Class thinkworkerServer not found the following is my third-party directory What is the reason for ? ...
Environment Information: centos7.4 php7.2 mysql5.7 1.php is compiled and installed 2.MySQL is installed with rpm mysql-community-client-5.7.23-1.el7.x86_64.rpm mysql-community-common-5.7.23-1.el7.x86_64.rpm mysql-community-devel-5.7.23-1.el7.x86_6...
recently encountered a strange problem. Help colleagues deploy a website, after deployment, I open it very slowly, and sometimes can not open it. And it s normal for me to open other websites. It is normal for other colleagues to open this site, using t...
as shown in the picture, I don t know what these things are, so that the cpu load is too high and crashes. what is no domain wasm like this ...
I want to change the array above into something like the following. A good way. public function arr_uniqe ($arr,$key) { $key_arr = []; $color = []; foreach ($arr as $k => $v) { if(empty($color)){ $color[] = $v[ c...
at present, there is a need to count the data of some dailies and show them with echarts. Because it may involve calculating the sum of months or years according to the day, I hope to find a way to do the calculation instead of mysql. The first thing th...
composer installation swoole_framework has the following error message: composer.json: ...
<?php $x1=$_POST["x1"]; $x2=$_POST["x2"]; $x3=$_POST["x3"]; $x4=$_POST["x4"]; $x5=$_POST["x5"]; function insertData(){ $query_insert = "insert into english (`f1`,`f2`,`f3`,`f4`,`f5`) ...
1Perfect MySQL deeply optimize 2Learning and using redis 3Jing Linux command 4, web security learning 5Based swoole learning 6 shell programming 7, algorithm learning 8, framework underlying source code learning where should I learn the ...
problem description canvas cannot be displayed directly. It is garbled if I want to read it with php, or tell me how to use php to read pictures in pgm format the environmental background of the problems and what methods you have tried check githu...
gitlaradocktoolboxdocker-compose up nginx~ virtualBoxlocalhost80nginxvirtualBox this should be the container-> machine- > virtualBox, should be the container-> machine there is a problem in this step. there is no answer on the Internet for a long ti...
A lamb can live to be 5 years old. It gives birth to a lamb at the age of 2 and 4, and dies at the age of 5. Q: now there is a newborn lamb (how many sheep will there be after the age of 0), n? ...
as above, the two words integral have been transcoded, which should have been + 5 integral . function anp(e) { var points= 5 ; var $i=$("<b>").text("+"+points); var x=e.pageX,y=e.pageY; $i.css({top:y+...