Skip to content
#

repl

Repl.it is a San Francisco-based start-up and online IDE. It allows developers to write code, build, and host apps or websites from their browser. There are over 50 supported languages from Python and Ruby to LOLCODE and QBasic.

Here are 1,112 public repositories matching this topic...

yurzo
yurzo commented Nov 15, 2021

For regular lists:

In [11]: list(range(50))
Out[11]: 
[0,
 1,
 2,
 3,
 4,
...
 46,
 47,
 48,
 49]

However:

In [13]: collections.UserList(range(50))
Out[13]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]
takaram
takaram commented Jan 3, 2022

How to reproduce

PHP: 8.0.14
Psysh: 0.11.1

Input a white space followed by class name and double colon (e.g. DateTime::), then press TAB to complete.

Result

Expected: no warnings shown
Actual: warnings shown on the screen

$ bin/psysh
Psy Shell v0.11.1 (PHP 8.0.14 — cli) by Justin Hileman
>>>  DateTime::PHP Warning:  Undefined array key 1 in /home/takuya/psysh/src

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Jan 7, 2022
  • Red
Website
repl.it
Wikipedia
Wikipedia