Edit report at https://bugs.php.net/bug.php?id=80740&edit=1
ID: 80740
Comment by: rtrtrtrtrt at dfdfdfdf dot dfd35
Reported by: celestinoxp at hotmail dot com
Summary: Possible "in_array" bug
Status: Not a bug
Type: Bug
Package: Unknown/Other Function
Operating System: Windows 10
PHP Version: 8.0Git-2021-02-12 (snap)
Block user comment: N
Private report: N
New Comment:
> Problem solved
and would you mind describe your mistake so that others finding your wrong bugreport can look if
they amde the same?
> You can delete this post
this is a bugtracker and there won't be something deleted
Previous Comments:
------------------------------------------------------------------------
[2021-02-13 12:49:36] celestinoxp at hotmail dot com
Problem solved.
You can delete this post.
Thaks.
------------------------------------------------------------------------
[2021-02-12 22:51:36] requinix@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2021-02-12 22:50:48] celestinoxp at hotmail dot com
Ex: n1 n2 n3 n4 n5
348010: 3 10 24 25 41 - $chave_bd = 3,10,24,25,41
348011: 18 19 23 27 47 - $conta=0, in_array(18, $chave_bd) == false
348012: 11 20 22 30 42 - $conta=1, in_array(11, $chave_bd) == false
348013: 10 26 29 31 42 - $conta=2, in_array(10, $chave_bd) == true
problem is n1_ausencias, n2_ausencias... n5_ausencias, have not correct values.
Can you check this? Please?
------------------------------------------------------------------------
[2021-02-12 22:46:29] celestinoxp at hotmail dot com
I don't find any error in the code, so I come here to ask for help to check a possible bug in
php. can we work together?
------------------------------------------------------------------------
[2021-02-12 22:23:12] requinix@php.net
Yes, there is an error in your code.
This is a bug tracker, not a PHP support group. See
http://www.php.net/support.php
for other places where you can get a more detailed explanation of the problem.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80740
--
Edit this bug report at https://bugs.php.net/bug.php?id=80740&edit=1