What another packages I need to install phpstorm?

|
2019-08-28 01:59:43
the output should be name: “não indentificado” as well as Date. can’t find the error, although the ide does not show me any.
hullen 2019-08-28 02:08:21
voce colocou um isset com espaço
hullen 2019-08-28 02:08:25
isset é uma funcao
hullen 2019-08-28 02:08:34
tem quer ter os parenteses colado nela
2019-08-28 02:08:44
pqp
hullen 2019-08-28 02:08:45
isset(…)
2019-08-28 02:08:50
vdd
hullen 2019-08-28 02:08:57
eu ajustei lá
hullen 2019-08-28 02:09:08
veja se atualizou pra voce
2019-08-28 02:09:43
então
2019-08-28 02:09:55
o problema é na linha 16
2019-08-28 02:10:00
deve ser o date
2019-08-28 02:10:03
se liga
2019-08-28 02:10:19
phpstormide-10987.jpg

2019-08-28 02:10:32
$idade = date(“Y”) – $ano;
hullen 2019-08-28 02:11:05
estranho que aqui nao é essa a linha 16
hullen 2019-08-28 02:11:17
e aqui funcionou
2019-08-28 02:11:58
se eu completo o formulario, ele roda
hullen 2019-08-28 02:11:59
?name=Nome+de+teste&ano=1900&sexo=Masculino
2019-08-28 02:12:15
agora se deixo em branco, ele não me retorna o que se pede
hullen 2019-08-28 02:12:20
phpstormide-10994.jpg

MarvinHeemeyer 2019-08-29 00:36:09
2019-08-28 01:57:27
https://codeshare.io/29wB34

replace line 21 by
$ano = !empty($_GET[‘ano’]) ? $_GET[‘ano’] : 0;

MarvinHeemeyer 2019-08-29 00:38:15
or
$ano = intval( $_GET[‘ano’] ?? 0 );
2019-08-29 00:40:08
Two question Marks? Nice
hullen 2019-08-29 00:41:56
recomendo validar se o campo está vazio e nao apenas se o campo existe
hullen 2019-08-29 00:42:15
para evitar esses tipos de erros, como o Mikhail sugeriu
hullen 2019-08-29 00:42:28
!empty (diferente de vazio)
hullen 2019-08-29 00:42:34
isset – campo existe
MarvinHeemeyer 2019-08-29 00:42:34
2019-08-29 00:40:08
Two question Marks? Nice

this is php 7 feature

hullen 2019-08-29 00:43:02
pois o campo pode existir, mas estar vazio
hullen 2019-08-29 00:43:08
ai ele tenta converter a data e quebra o codigo
MarvinHeemeyer 2019-08-29 00:43:20
https://www.php.net/manual/en/migration70.new-features.php

“Null coalescing operator”

2019-08-29 01:10:08
hullen 2019-08-29 00:42:28
!empty (diferente de vazio)

In My Case, !empty was the only one tô work

hullen 2019-08-29 01:10:34
yep!
hullen 2019-08-29 01:10:46
this is all you need for this case
MarvinHeemeyer 2019-08-29 01:26:58
You can send “&ano=string&” in request, and catch same error. So it’s not “all” ))
2019-08-30 17:07:34
phpstormide-11021.jpg
how do i change my folder coloros like this?
vbutenko 2019-08-30 19:39:17
This is theme for ide
vbutenko 2019-08-30 19:39:26
Use Google to find 🙂
gangstel 2019-08-31 09:14:55
2019-08-30 17:07:34
how do i change my folder coloros like this?

It s plugin Material UI

2019-09-01 04:13:16
is there bot developer for the php?
pronskiy 2019-09-01 11:30:34
https://twitter.com/tagir_valeev/status/1167379079244451840

Tagir ValeevTwitter
Ключ на PhpStorm. Официальный, от разработчиков.
2019-09-01 20:56:25
phpstormide-11035.jpg
Hei all. I need help bro. Where’s the error?
hullen 2019-09-01 21:14:44
Show your code
andrewdanilov 2019-09-01 21:24:56
2019-09-01 20:56:25
Hei all. I need help bro. Where’s the error?

On line 5, i guess. Probably you forget smthng to write, i.e. brackets or parenthesis

2019-09-01 21:27:42
yes bro. I forgot to write quotation marks.
Ceo_Alladin 2019-09-02 16:40:21
Hello guys please I need help on php
er_amar_8 2019-09-04 10:27:00
Tell us
boyutov97 2019-09-08 12:21:29
Hello there, please tell me, can I install phpstorm on Ubuntu 16.04 LTS 32 bit?
What another packages I need to install phpstorm?
Thanks )
K0sen 2019-09-08 12:26:18
No additional packages are required
|