www.archive-org-2014.com » ORG » 3 » 3V4L

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

    Archived pages: 35 . Archive date: 2014-07.

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: .. 3v4l.. org.. - online PHP & HHVM shell, execute code in 100+ different versions!.. ?php.. About.. org is an online shell that allows you to evaluate (hence 3v4l) your code on our servers.. We support more than 100 different PHP versions (every version released since 4.. 3.. 0) plus HHVM for you to use.. For every script you submit, we return:.. Output from all released PHP and  ...   (time and memory) of every version.. Contextual links to documentation and php sourcecode.. HHVM Analyzer output.. We're on Twitter.. @3v4l_org.. and.. Gittip.. Examples:.. Performance problems in array_diff.. Booleans can be changed within a namespace.. A resource which is cast to an object will result in a key 'scalar'.. __toString evolves when used in comparisons.. New binary implementation and its problems.. Overwriting $this when using references.. Broken formatting in DateTime..

    Original link path: /
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: ?php $i=0; $j=500000; while($i 60000) { $i++; $j++; $data1[] = md5($i); $data2[] = md5($j); } $time = microtime(true); echo Starting array_diff\n ; $data_diff1 = array_diff($data1, $data2); $time = microtime(true) - $time; echo 'array_diff() took '.. number_format($time, 3).. ' seconds and returned '.. count($data_diff1).. entries\n ;.. Output.. Performance.. VLD opcodes.. References.. Segmentation fault.. HHVM analyze.. HHVM Bytecode.. hhvm-3.. 0.. 1 statistics:.. System time:.. 0.. 084 s.. User time:.. 502 s.. Memory:.. 68.. 406 MiB.. 1.. 0 statistics:.. 037 s.. 116 s.. 54.. 828 MiB.. 2@0529 statistics:.. 068 s.. 278 s.. 55.. 539 MiB..

    Original link path: /am3S3/perf
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: ?php namespace Foo; define('Foo\\true', false); if (true) { echo TRUE ; } else { echo FALSE!!! ; }.. Output for hhvm-3.. 1, hhvm-3.. 0, hhvm-3.. 2@0529.. TRUE.. Output for 5.. 0 - 5.. 6.. 0rc1, 5.. 7@20140507, 5.. 7@20140521.. FALSE!!!.. Output for 4.. 4.. 2 - 4.. 9, 5.. 2.. 17.. Parse error: syntax error, unexpected T_STRING in /in/S2AFZ on line 2.. Process exited with code.. 255.. 0 - 4.. 1, 4.. 5 - 4.. 1, 5.. 5.. Parse error: parse error, unexpected T_STRING in /in/S2AFZ on line 2.. Parse error: parse error in /in/S2AFZ on line 2..

    Original link path: /S2AFZ
    Open archive
  •  

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: ?php var_dump( (object)fopen('/', 'r') );.. created by _sjon.. 139.. resource(4) of type (stream).. 3 - 5.. 0beta4, 5.. object(stdClass)#1 (1) { ["scalar"]= resource(5) of type (stream) }.. object(stdClass)#1 (1) { ["scalar"]= resource(2) of type (stream) }.. 9.. object(stdClass)(1) { ["scalar"]= resource(1) of type (stream) }..

    Original link path: /XiQG0
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: ?php // Source: https://bugs.. php.. net/bug.. php?id=61225 var_dump(0b0+1);.. 1 - 5.. 7@20140521, hhvm-3.. int(1).. int(2).. 28.. Parse error: syntax error, unexpected T_STRING in /in/gaLMA on line 3.. Parse error: parse error, unexpected T_STRING in /in/gaLMA on line 3.. Parse error: parse error in /in/gaLMA on line 3..

    Original link path: /gaLMA
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: ?php class x { public function __construct() { $x = $this; $x = new stdClass; var_dump($this); } } var_dump(new x);.. object(stdClass)#2 (0) { } object(x)#1 (0) { }.. Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/uNUDC on line 5.. Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/uNUDC on line 5.. Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/uNUDC on line 5..

    Original link path: /uNUDC
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: php?id=62476 for ($d=55; $d 65; $d++) { $dt = DateTime::createFromFormat ('z.. Y', $d.. '.. 2012'); $dd = $dt- format ('d.. m.. Y'); echo $d $dd\n ; }.. Strict Warning: It is not safe to rely on the system's timezone settings.. Please use the date.. timezone setting, the TZ environment variable or the date_default_timezone_set() function.. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.. We selected 'Europe/Berlin' for 'CEST/2.. 0/DST' instead in /in/DgUUQ on line 6 #0 DateTime::createFromFormat(), called at [/in/DgUUQ:6] #0 DateTime::createFromFormat(), called at [/in/DgUUQ:6] Strict Warning: It is not safe to rely on the system's timezone settings.. 0/DST' instead in /in/DgUUQ on line  ...   #0 DateTime::createFromFormat(), called at [/in/DgUUQ:6] 56 26.. 0/DST' instead in /in/DgUUQ on line 6 57 27.. 2012 58 28.. 2012 59 01.. 03.. 2012 60 02.. 2012 61 03.. 2012 62 04.. 2012 63 05.. 2012 64 06.. 2012.. 9 - 5.. 55 25.. 2012 56 26.. 2012 57 27.. 8.. 2012 59 29.. 2012 60 01.. 2012 61 02.. 2012 62 03.. 2012 63 04.. 2012 64 05.. 10 - 5.. Fatal error: Call to undefined method DateTime::createFromFormat() in /in/DgUUQ on line 6.. Fatal error: Call to undefined method DateTime::createfromformat() in /in/DgUUQ on line 6.. Fatal error: Class 'DateTime' not found in /in/DgUUQ on line 6.. Fatal error: Undefined class name 'datetime' in /in/DgUUQ on line 6..

    Original link path: /DgUUQ
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: Starting array_diff array_diff() took 0.. 018 seconds and returned 60000 entries.. 015 seconds and returned 60000 entries.. 014 seconds and returned 60000 entries.. 136 seconds and returned 60000 entries.. 7@20140507.. 155 seconds and returned 60000 entries.. 3, 5.. 0rc1.. 314 seconds and returned 60000 entries.. 0beta4.. 193 seconds and returned 60000 entries.. 0beta3.. 208 seconds and returned 60000 entries.. 16, 5.. 0beta2.. 228 seconds and returned 60000 entries.. 0beta1.. 219 seconds and returned 60000 entries.. 0alpha3.. 243 seconds and returned 60000 entries.. 0alpha2.. 215 seconds and returned 60000 entries.. 20, 5.. 0alpha1.. 284 seconds and returned 60000 entries.. 14.. 294 seconds and returned 60000 entries.. 11, 5.. 29, 5.. 2, 5.. 13.. 286 seconds and returned 60000 entries.. 5, 5.. 15, 5.. 12.. 258 seconds and returned 60000 entries.. 11.. 252 seconds and returned 60000 entries.. 10.. 261 seconds and returned 60000 entries.. 18, 5.. 274 seconds and returned 60000 entries.. 221 seconds and returned 60000 entries.. 13, 5.. 7.. 253 seconds and returned 60000 entries.. 211 seconds and returned 60000 entries.. 19, 5.. 283 seconds and returned 60000 entries.. 299 seconds and returned 60000 entries.. 305 seconds and returned 60000 entries.. 313 seconds and returned 60000 entries.. 28, 5.. 30.. 223 seconds and returned 60000 entries.. 225 seconds and returned 60000 entries.. 27.. 195 seconds and returned 60000 entries.. 26.. 197 seconds and returned 60000 entries.. 25.. 226 seconds and returned 60000 entries.. 24.. 210 seconds and returned 60000 entries.. 23.. 209 seconds and returned 60000 entries.. 22.. 268 seconds and returned 60000 entries.. 0, 5.. 21.. 316 seconds  ...   and returned 60000 entries.. 191 seconds and returned 60000 entries.. 196 seconds and returned 60000 entries.. 194 seconds and returned 60000 entries.. 390 seconds and returned 60000 entries.. 290 seconds and returned 60000 entries.. 266 seconds and returned 60000 entries.. 20.. 275 seconds and returned 60000 entries.. 255 seconds and returned 60000 entries.. 280 seconds and returned 60000 entries.. 263 seconds and returned 60000 entries.. 254 seconds and returned 60000 entries.. 291 seconds and returned 60000 entries.. 7, 5.. 265 seconds and returned 60000 entries.. 6 - 5.. Starting array_diff.. 137.. 259 seconds and returned 60000 entries.. 15.. 293 seconds and returned 60000 entries.. 7, 4.. 244 seconds and returned 60000 entries.. 276 seconds and returned 60000 entries.. 250 seconds and returned 60000 entries.. 272 seconds and returned 60000 entries.. 292 seconds and returned 60000 entries.. 454 seconds and returned 60000 entries.. 352 seconds and returned 60000 entries.. 361 seconds and returned 60000 entries.. 302 seconds and returned 60000 entries.. 345 seconds and returned 60000 entries.. 6, 5.. 285 seconds and returned 60000 entries.. Starting array_diff array_diff() took -0.. 725 seconds and returned 60000 entries.. 335 seconds and returned 60000 entries.. 755 seconds and returned 60000 entries.. 231 seconds and returned 60000 entries.. 301 seconds and returned 60000 entries.. 715 seconds and returned 60000 entries.. 645 seconds and returned 60000 entries.. 8 - 4.. 282 seconds and returned 60000 entries.. 355 seconds and returned 60000 entries.. 612 seconds and returned 60000 entries.. 600 seconds and returned 60000 entries.. 667 seconds and returned 60000 entries.. 296 seconds and returned 60000 entries..

    Original link path: /am3S3
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: Finding entry points Branch analysis from position: 0 Jump found.. Position 1 = 4, Position 2 = 17 Branch analysis from position: 4 Jump found.. Position 1 = 2 Branch analysis from position: 2 Branch analysis from position: 17 Return found filename: /in/am3S3 function name: (null) number of ops: 40 compiled vars: !0 = $i, !1 = $j, !2 = $data1, !3 = $data2, !4 = $time, !5 = $data_diff1 line # * op fetch ext return operands --------------------------------------------------------------------------------- 2 0 > ASSIGN !0, 0 1 ASSIGN !1, 500000 3 2 > IS_SMALLER ~2 !0, 60000 3 > JMPZ ~2, ->17 4 4 > POST_INC ~3 !0 5 FREE ~3 6 POST_INC  ...   16 > JMP ->2 9 17 > SEND_VAL true 18 DO_FCALL 1 $11 'microtime' 19 ASSIGN !4, $11 11 20 ECHO 'Starting+array_diff%0A' 12 21 SEND_VAR !2 22 SEND_VAR !3 23 DO_FCALL 2 $13 'array_diff' 24 ASSIGN !5, $13 14 25 SEND_VAL true 26 DO_FCALL 1 $15 'microtime' 27 SUB ~16 $15, !4 28 ASSIGN !4, ~16 16 29 SEND_VAR !4 30 SEND_VAL 3 31 DO_FCALL 2 $18 'number_format' 32 CONCAT ~19 'array_diff%28%29+took+', $18 33 CONCAT ~20 ~19, '+seconds+and+returned+' 34 SEND_VAR !5 35 DO_FCALL 1 $21 'count' 36 CONCAT ~22 ~20, $21 37 CONCAT ~23 ~22, '+entries%0A' 38 ECHO ~23 39 > RETURN 1.. Generated using.. Vulcan Logic Dumper.. , using php 5..

    Original link path: /am3S3/vld
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: Documentation - md5.. Documentation - number_format.. Documentation - microtime.. Documentation - count.. Documentation - array_diff.. Source code of number_format.. Source code of microtime.. Source code of count.. Source code of array_diff..

    Original link path: /am3S3/refs
    Open archive

  • Title: 3v4l - EvAluate your code in our online PHP & HHVM shell (100+ versions)
    Descriptive info: Pseudo-main at 0 (ID 0) FPI 121-133; fpOff = 9 // line 2 0: Int 0 9: SetL 0 11: PopC 12: Int 500000 21: SetL 1 23: PopC // line 3 24: Int 60000 33: CGetL2 0 35: Lt 36: JmpZ 66 (102) // line 4 41: IncDecL 0 PostIncO 44: PopC 45: IncDecL 1 PostIncO 48: PopC // line 5 49: CGetL 0 51: False 52: FCallBuiltin 2 1 "md5" 59: UnboxRNop 60: SetM.. 72: PopC // line 6 73: CGetL 1 75: False 76: FCallBuiltin 2 1 "md5" 83: UnboxRNop 84: SetM.. 96: PopC // line 7 97: Jmp -73 // line 9 102: True 103: FCallBuiltin 1 1 "microtime"  ...   136: SetL 5 138: PopC // line 14 139: True 140: FCallBuiltin 1 1 "microtime" 147: UnboxRNop 148: CGetL 4 150: SubO 151: SetL 4 153: PopC // line 16 154: String "array_diff() took " 159: CGetL 4 161: Int 3 170: String ".. " 175: String "," 180: FCallBuiltin 4 2 "number_format" 187: UnboxRNop 188: String " seconds and returned " 193: Concat 194: CGetL 5 196: Int 0 205: FCallBuiltin 2 1 "count" 212: UnboxRNop 213: String " entries\n" 218: Concat 219: Concat 220: Concat 221: Print 222: PopC 223: Int 1 232: RetC Pseudo-main at 0 (ID 0) FPI 121-133; fpOff = 9.. HHVM's DumpByteCode feature.. , using HHVM 3..

    Original link path: /am3S3/bytecode
    Open archive



  •  


    Archived pages: 35