fork(4) download
  1. <?php
  2.  
  3. class CreatePaymentRequestLightbox{
  4. public function main($valortotal){
  5. $pedido_total = $valortotal;
  6. echo $pedido_total;
  7. }
  8. }
  9.  
  10. $valortotal = 15.00;
  11. $paymentRequest = new CreatePaymentRequestLightbox();
  12. $paymentRequest->main($valortotal);
Success #stdin #stdout 0.02s 24400KB
stdin
Standard input is empty
stdout
15