3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userid=array('123'); var_dump(addslashes(stripslashes($userid)));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.140.0120.00917.75
8.4.130.0130.00718.52
8.4.120.0070.00323.95
8.4.110.0120.00818.70
8.4.100.0070.00818.66
8.4.90.0120.00720.43
8.4.80.0130.00718.58
8.4.70.0100.01317.85
8.4.60.0080.01123.93
8.4.50.0050.00319.79
8.4.40.0130.00719.69
8.4.30.0100.00018.46
8.4.20.0170.00318.14
8.4.10.0090.00618.49
8.3.260.0110.00916.49
8.3.250.0100.00618.68
8.3.240.0120.00817.00
8.3.230.0040.00516.69
8.3.220.0060.00118.80
8.3.210.0170.00318.49
8.3.200.0040.00416.43
8.3.190.0110.00816.64
8.3.180.0060.00618.54
8.3.170.0090.00018.91
8.3.160.0130.01016.47
8.3.150.0070.01116.86
8.3.140.0080.00016.48
8.3.130.0090.00018.47
8.3.120.0070.01120.69
8.3.110.0130.00616.66
8.3.100.0040.00424.06
8.3.90.0040.00416.67
8.3.80.0090.00016.50
8.3.70.0140.00316.58
8.3.60.0040.01116.50
8.3.50.0120.00320.25
8.3.40.0100.01018.91
8.3.30.0090.00619.00
8.3.20.0050.00324.18
8.3.10.0030.00524.66
8.3.00.0080.00026.16
8.2.290.0050.00320.37
8.2.280.0100.00918.41
8.2.270.0040.01517.06
8.2.260.0040.00418.97
8.2.250.0120.00016.49
8.2.240.0110.00718.75
8.2.230.0090.00320.94
8.2.220.0070.00437.54
8.2.210.0090.00026.77
8.2.200.0060.00316.50
8.2.190.0100.00716.58
8.2.180.0070.01025.92
8.2.170.0060.00618.95
8.2.160.0070.01022.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00719.54
8.2.110.0090.00020.92
8.2.100.0040.00717.71
8.2.90.0050.00317.91
8.2.80.0060.00319.11
8.2.70.0000.00917.63
8.2.60.0000.00817.93
8.2.50.0000.00817.98
8.2.40.0030.00518.16
8.2.30.0030.00618.09
8.2.20.0070.00020.42
8.2.10.0040.00417.71
8.2.00.0000.00819.23
8.1.330.0100.00522.06
8.1.320.0120.00816.33
8.1.310.0070.00016.66
8.1.300.0070.01118.00
8.1.290.0030.00630.84
8.1.280.0100.01025.92
8.1.270.0030.00523.99
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0080.00323.62
8.1.230.0070.00422.81
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0080.00017.62
8.1.160.0060.00318.73
8.1.150.0000.00718.48
8.1.140.0050.00217.36
8.1.130.0070.00018.85
8.1.120.0000.00817.42
8.1.110.0000.00817.39
8.1.100.0000.00817.30
8.1.90.0030.00617.29
8.1.80.0000.00817.46
8.1.70.0050.00317.43
8.1.60.0030.00517.58
8.1.50.0030.00917.32
8.1.40.0040.00417.54
8.1.30.0000.01017.53
8.1.20.0160.00817.46
8.1.10.0170.00617.52
8.1.00.0140.00617.38
8.0.300.0040.00420.14
8.0.290.0070.00016.63
8.0.280.0050.00218.36
8.0.270.0070.00016.72
8.0.260.0030.00318.37
8.0.250.0040.00416.84
8.0.240.0080.00016.88
8.0.230.0030.00416.93
8.0.220.0000.00716.90
8.0.210.0000.00816.85
8.0.200.0000.01016.95
8.0.190.0040.00717.00
8.0.180.0030.00616.96
8.0.170.0070.00316.91
8.0.160.0120.00616.88
8.0.150.0160.00216.65
8.0.140.0150.00316.71
8.0.130.0190.00016.77
8.0.120.0190.00016.80
8.0.110.0150.00416.89
8.0.100.0110.00716.77
8.0.90.0190.00016.83
8.0.80.0140.00516.78
8.0.70.0170.00316.69
8.0.60.0150.00316.60
8.0.50.0140.00516.73
8.0.30.0190.00016.81
8.0.20.0140.00516.81
8.0.10.0140.00516.85
7.4.330.0050.00015.55
7.4.320.0000.00616.50
7.4.300.0060.00016.51
7.4.290.0000.00816.34
7.4.280.0030.00316.41
7.4.270.0170.00316.50
7.4.260.0130.00816.45
7.4.250.0200.00216.30
7.4.240.0100.00716.37
7.4.230.0080.01216.39
7.4.220.0140.00716.39
7.4.210.0110.00716.48
7.4.200.0150.00216.39
7.4.190.0170.00316.40
7.4.180.0150.00316.55
7.4.160.0150.00416.51
7.4.150.0160.00316.42
7.4.140.0140.00416.36
7.4.130.0140.00316.40
7.4.120.0130.00516.31
7.4.110.0050.01016.26
7.4.100.0110.00516.41
7.4.90.0120.00616.35
7.4.80.0150.00416.12
7.4.70.0110.00216.30
7.4.60.0040.00816.38
7.4.50.0110.00416.35
7.4.40.0040.00816.15
7.4.30.0080.00316.37
7.4.20.0100.00316.20
7.4.10.0110.00316.38
7.4.00.0090.00316.37

preferences:
119.88 ms | 403 KiB | 5 Q