Skip to content

Feature: Colocando minha solução#6

Open
AnthonyMRodrigues wants to merge 1 commit into
PHPRio:masterfrom
AnthonyMRodrigues:solucaoSoma
Open

Feature: Colocando minha solução#6
AnthonyMRodrigues wants to merge 1 commit into
PHPRio:masterfrom
AnthonyMRodrigues:solucaoSoma

Conversation

@AnthonyMRodrigues

Copy link
Copy Markdown

Desafio de soma.


$firstValue = $argv[1];
$secondValue = $argv[2];
if (!is_null($firstValue) && !is_null($secondValue)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se argv1 ou argv2 forem strings vai dar ruim, não?!

@@ -0,0 +1,23 @@
<?php
/**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A identação do arquivo ficou com uma coluna a mais a esquerda.

@vitormattos vitormattos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Algumas dicas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants