A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_session9shht4jvq8fs0djfqfjud69ibmde86ia): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 176

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /var/www/interviewmania.com/index.php
Line: 315
Function: require_once

What will be the output of the following PHP code ?<?php$one1

Home » PHP » PHP Variables » Question
  1. What will be the output of the following PHP code ?
    <?php
    $one1 = 1;
    $nine9 = 9;
    $eight8 = 8;
    echo $nine9 + $eight8 / $one1 - 2;
    ?>
    1. 1
    2. 15
    3. 9
    4. 8
    5. Error
Correct Option: B

You can use numbers in a variable name.



Your comments will be displayed only after manual approval.