3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = "1%0AUNION SELECT 1,2,3,4,5,6 -- -"; echo (preg_match('/[0-9]+/m', $id)) ? 'This is a valid ID' : 'Are you trying to hack me?!';

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.3.70.0100.01016.75
8.3.60.0100.00716.63
8.3.50.0140.00621.06
8.3.40.0210.00018.85
8.3.30.0120.00319.09
8.3.20.0050.00220.21
8.3.10.0080.00023.50
8.3.00.0040.00420.80
8.2.190.0090.00918.18
8.2.180.0140.00718.29
8.2.170.0040.01122.96
8.2.160.0100.00320.57
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.18
8.2.110.0060.00320.35
8.2.100.0090.00317.82
8.2.90.0040.00419.21
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0060.00317.68
8.2.50.0080.00018.07
8.2.40.0030.00519.95
8.2.30.0050.00218.14
8.2.20.0030.00517.75
8.2.10.0040.00417.89
8.2.00.0040.00417.63
8.1.280.0040.01125.92
8.1.270.0060.00323.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0080.00417.58
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0060.00317.35
8.1.180.0080.00018.10
8.1.170.0060.00618.75
8.1.160.0040.00421.93
8.1.150.0070.00018.76
8.1.140.0080.00017.53
8.1.130.0000.00717.84
8.1.120.0000.00717.44
8.1.110.0000.00817.48
8.1.100.0040.00417.52
8.1.90.0000.00717.59
8.1.80.0040.00417.44
8.1.70.0030.00317.45
8.1.60.0040.00417.63
8.1.50.0080.00017.53
8.1.40.0080.00017.61
8.1.30.0050.00317.66
8.1.20.0070.00017.71
8.1.10.0050.00217.57
8.1.00.0000.00717.66
8.0.300.0000.00718.77
8.0.290.0080.00016.88
8.0.280.0000.00718.42
8.0.270.0040.00417.32
8.0.260.0050.00317.16
8.0.250.0030.00316.96
8.0.240.0030.00717.14
8.0.230.0080.00017.03
8.0.220.0070.00016.93
8.0.210.0000.00716.99
8.0.200.0040.00417.01
8.0.190.0020.00516.91
8.0.180.0000.00716.88
8.0.170.0030.00516.99
8.0.160.0040.00317.07
8.0.150.0070.00016.88
8.0.140.0000.00716.81
8.0.130.0030.00313.35
8.0.120.0030.00516.86
8.0.110.0020.00516.92
8.0.100.0040.00416.79
8.0.90.0080.00016.98
8.0.80.0070.00716.94
8.0.70.0030.00617.00
8.0.60.0030.00516.93
8.0.50.0070.00016.97
8.0.30.0090.00917.11
8.0.20.0140.00517.40
8.0.10.0040.00416.91
8.0.00.0100.00916.77
7.4.330.0000.00515.00
7.4.320.0000.00616.63
7.4.300.0000.00616.68
7.4.290.0030.00316.63
7.4.280.0070.00016.61
7.4.270.0030.00316.63
7.4.260.0000.00513.52
7.4.250.0000.00716.56
7.4.240.0040.00416.69
7.4.230.0000.00716.84
7.4.220.0140.01116.63
7.4.210.0040.00916.66
7.4.200.0030.00316.53
7.4.190.0040.00416.90
7.4.160.0180.00016.70
7.4.150.0110.00817.40
7.4.140.0120.00717.86
7.4.130.0110.00616.62
7.4.120.0060.01116.62
7.4.110.0070.01016.55
7.4.100.0070.01116.59
7.4.90.0070.01016.68
7.4.80.0060.01219.39
7.4.70.0120.00416.53
7.4.60.0030.01316.57
7.4.50.0030.00616.55
7.4.40.0110.00716.75
7.4.30.0050.01316.67
7.4.10.0030.01614.74
7.4.00.0130.00314.92
7.3.330.0000.00513.19
7.3.320.0060.00013.07
7.3.310.0030.00316.14
7.3.300.0040.00416.28
7.3.290.0000.02216.32
7.3.280.0130.00716.34
7.3.270.0160.00917.40
7.3.260.0120.00616.32
7.3.250.0140.00716.28
7.3.240.0170.00316.47
7.3.230.0090.01316.63
7.3.210.0110.00616.62
7.3.200.0060.01719.39
7.3.190.0100.00716.28
7.3.180.0060.00916.38
7.3.170.0070.01016.55
7.3.160.0090.00616.49
7.3.130.0030.01014.65
7.3.120.0030.01214.62
7.3.110.0070.01315.01
7.3.100.0100.00314.59
7.3.90.0070.00714.66
7.3.80.0030.00915.07
7.3.70.0060.00314.91
7.3.60.0060.01214.85
7.3.50.0070.00714.75
7.3.40.0000.01014.67
7.3.30.0000.01514.80
7.3.20.0070.01016.75
7.3.10.0000.01116.62
7.3.00.0100.00716.31
7.2.330.0120.00616.70
7.2.320.0070.01016.71
7.2.310.0140.00316.63
7.2.300.0090.00916.75
7.2.290.0060.01216.67
7.2.260.0040.01414.78
7.2.250.0070.01115.13
7.2.240.0130.00315.15
7.2.230.0070.00715.12
7.2.220.0090.00614.80
7.2.210.0110.00314.95
7.2.200.0070.01015.04
7.2.190.0090.00615.05
7.2.180.0060.00614.84
7.2.170.0110.00415.14
7.2.160.0070.00714.98
7.2.150.0050.00517.05
7.2.140.0000.01417.14
7.2.130.0060.00916.67
7.2.120.0030.01016.80
7.2.110.0060.00616.96
7.2.100.0090.00617.00
7.2.90.0030.00916.69
7.2.80.0090.00616.77
7.2.70.0080.00416.92
7.2.60.0090.00316.65
7.2.50.0030.01316.72
7.2.40.0060.00916.92
7.2.30.0070.01016.73
7.2.20.0130.00316.95
7.2.10.0030.01316.85
7.2.00.0020.01117.99
7.1.330.0080.00815.92
7.1.320.0030.01016.06
7.1.310.0030.01015.89
7.1.300.0060.00315.80
7.1.290.0040.00815.74
7.1.280.0030.01016.01
7.1.270.0090.00315.87
7.1.260.0030.01015.87
7.1.250.0060.00315.85
7.1.240.0030.00915.95
7.1.230.0090.00615.80
7.1.220.0100.00615.62
7.1.210.0080.00515.49
7.1.200.0040.00815.68
7.1.190.0030.00915.70
7.1.180.0070.01015.83
7.1.170.0000.01115.96
7.1.160.0040.01115.61
7.1.150.0070.00315.56
7.1.140.0120.00316.04
7.1.130.0070.00715.77
7.1.120.0070.00715.78
7.1.110.0060.01215.83
7.1.100.0110.00617.07
7.1.90.0060.01215.70
7.1.80.0000.01315.75
7.1.70.0040.00716.53
7.1.60.0070.01217.71
7.1.50.0050.01016.59
7.1.40.0090.00915.55
7.1.30.0100.00315.57
7.1.20.0000.01315.87
7.1.10.0040.01115.82
7.1.00.0070.04219.05
7.0.330.0080.00415.26
7.0.320.0040.01515.39
7.0.310.0110.00415.62
7.0.300.0040.00815.53
7.0.290.0070.00715.31
7.0.280.0070.00815.28
7.0.270.0060.00615.47
7.0.260.0030.00915.66
7.0.250.0030.01615.57
7.0.240.0080.01115.77
7.0.230.0070.01115.48
7.0.220.0070.00715.65
7.0.210.0030.01315.63
7.0.200.0020.01016.22
7.0.190.0080.00415.14
7.0.180.0080.00315.55
7.0.170.0090.00015.61
7.0.160.0040.01115.55
7.0.150.0090.00615.61
7.0.140.0090.03618.63
7.0.130.0060.00915.34
7.0.120.0090.00615.54
7.0.110.0130.00615.52
7.0.100.0100.04417.70
7.0.90.0200.02817.79
7.0.80.0320.04017.66
7.0.70.0280.02317.57
7.0.60.0230.04217.56
7.0.50.0200.03517.96
7.0.40.0070.04316.80
7.0.30.0100.04216.94
7.0.20.0080.03316.93
7.0.10.0090.02516.83
7.0.00.0040.02916.86
5.6.400.0160.00014.39
5.6.390.0060.00613.89
5.6.380.0060.01214.59
5.6.370.0030.01314.58
5.6.360.0030.00914.54
5.6.350.0030.00914.19
5.6.340.0040.01214.25
5.6.330.0070.00714.28
5.6.320.0030.01614.23
5.6.310.0160.00314.36
5.6.300.0110.00714.00
5.6.290.0150.00014.30
5.6.280.0040.04417.51
5.6.270.0100.01014.02
5.6.260.0060.00914.43
5.6.250.0080.04017.46
5.6.240.0080.02617.57
5.6.230.0010.04917.39
5.6.220.0060.02317.36
5.6.210.0110.03817.33
5.6.200.0130.02317.70
5.6.190.0120.02417.69
5.6.180.0080.02817.54
5.6.170.0100.04017.70
5.6.160.0100.04517.80
5.6.150.0100.04017.63
5.6.140.0080.03617.56
5.6.130.0050.04917.64
5.6.120.0010.02617.45
5.6.110.0050.02717.71
5.6.100.0090.04317.60
5.6.90.0100.03217.45
5.6.80.0100.02317.44
5.6.70.0120.03417.39
5.6.60.0030.04717.29
5.6.50.0080.04517.33
5.6.40.0080.04117.35
5.6.30.0130.03817.30
5.6.20.0040.04917.32
5.6.10.0070.03917.29
5.6.00.0100.03717.34
5.5.380.0120.03817.32
5.5.370.0060.02917.40
5.5.360.0080.03317.35
5.5.350.0030.04417.30
5.5.340.0060.04517.31
5.5.330.0090.04317.63
5.5.320.0050.03017.55
5.5.310.0070.03717.69
5.5.300.0070.04217.69
5.5.290.0080.02717.38
5.5.280.0030.02917.50
5.5.270.0050.03317.41
5.5.260.0100.02217.49
5.5.250.0090.03317.31
5.5.240.0050.04317.25
5.5.230.0070.04217.21
5.5.220.0070.04017.05
5.5.210.0030.04817.24
5.5.200.0080.02317.05
5.5.190.0160.03217.10
5.5.180.0110.04117.10
5.5.170.0030.01014.20
5.5.160.0030.03617.17
5.5.150.0050.02817.19
5.5.140.0160.01717.34
5.5.130.0050.02717.19
5.5.120.0130.03517.17
5.5.110.0070.04217.05
5.5.100.0080.04117.20
5.5.90.0110.03117.16
5.5.80.0030.04317.15
5.5.70.0030.04317.18
5.5.60.0070.04417.09
5.5.50.0050.04117.00
5.5.40.0050.04717.10
5.5.30.0050.03017.23
5.5.20.0030.04117.11
5.5.10.0100.03817.19
5.5.00.0050.04916.95
5.4.450.0060.03816.03
5.4.440.0020.02516.14
5.4.430.0080.04015.96
5.4.420.0080.04016.08
5.4.410.0030.03516.02
5.4.400.0070.03915.87
5.4.390.0070.03615.90
5.4.380.0050.03315.77
5.4.370.0040.04215.88
5.4.360.0020.04715.89
5.4.350.0080.03815.89
5.4.340.0060.04015.91
5.4.330.0100.00012.71
5.4.320.0020.03715.83
5.4.310.0060.03015.88
5.4.300.0050.04215.92
5.4.290.0060.02315.97
5.4.280.0070.04215.96
5.4.270.0100.03915.91
5.4.260.0130.02215.95
5.4.250.0130.03315.88
5.4.240.0070.02015.91
5.4.230.0070.02815.91
5.4.220.0080.04015.96
5.4.210.0050.02515.91
5.4.200.0060.03115.91
5.4.190.0110.03515.90
5.4.180.0110.03815.87
5.4.170.0050.03015.82
5.4.160.0040.02615.72
5.4.150.0030.04315.85
5.4.140.0030.04314.53
5.4.130.0110.03214.53
5.4.120.0070.03914.48
5.4.110.0080.03814.55
5.4.100.0020.02714.56
5.4.90.0060.03814.46
5.4.80.0050.03714.48
5.4.70.0050.03714.48
5.4.60.0070.02114.46
5.4.50.0060.02114.50
5.4.40.0080.03614.45
5.4.30.0030.04214.49
5.4.20.0030.04314.55
5.4.10.0080.01814.51
5.4.00.0060.02614.13
5.3.290.0020.04213.61
5.3.280.0040.02513.64
5.3.270.0070.04013.63
5.3.260.0010.03413.56
5.3.250.0050.02113.61
5.3.240.0050.04013.62
5.3.230.0110.03513.58
5.3.220.0070.03713.64
5.3.210.0120.04013.55
5.3.200.0120.02013.56
5.3.190.0090.03913.63
5.3.180.0100.02313.60
5.3.170.0060.04113.60
5.3.160.0100.01713.63
5.3.150.0070.02213.56
5.3.140.0030.02613.63
5.3.130.0090.03713.62
5.3.120.0090.04213.61
5.3.110.0050.04213.63
5.3.100.0090.02413.31
5.3.90.0070.03813.35
5.3.80.0000.04013.25
5.3.70.0070.03313.29
5.3.60.0050.02913.36
5.3.50.0060.04113.25
5.3.40.0070.03213.31
5.3.30.0050.02313.29
5.3.20.0020.02713.19
5.3.10.0100.01913.18
5.3.00.0080.03613.06
5.2.170.0100.07011.14
5.2.160.0070.03311.06
5.2.150.0070.06311.16
5.2.140.0070.05011.08
5.2.130.0030.06311.09
5.2.120.0100.03011.09
5.2.110.0100.06011.05
5.2.100.0100.05311.07
5.2.90.0100.05711.10
5.2.80.0030.06310.95
5.2.70.0000.03710.91
5.2.60.0130.03311.04
5.2.50.0070.06311.01
5.2.40.0000.05711.05
5.2.30.0130.03711.02
5.2.20.0000.03710.77
5.2.10.0000.03310.91
5.2.00.0130.07010.73
5.1.60.0170.02710.43
5.1.50.0000.05310.43
5.1.40.0000.04710.43
5.1.30.0070.02710.43
5.1.20.0030.04710.43
5.1.10.0070.05010.43
5.1.00.0030.04010.43
5.0.50.0030.04710.43
5.0.40.0070.03310.43
5.0.30.0030.04710.43
5.0.20.0000.04310.43
5.0.10.0030.04310.43
5.0.00.0000.06310.43
4.4.90.0000.02010.43
4.4.80.0030.03710.43
4.4.70.0030.03310.43
4.4.60.0070.01710.43
4.4.50.0030.01710.43
4.4.40.0100.02310.43
4.4.30.0070.03310.43
4.4.20.0000.03010.43
4.4.10.0030.01710.43
4.4.00.0000.04310.43
4.3.110.0070.03310.43
4.3.100.0070.02710.43
4.3.90.0100.03310.43
4.3.80.0030.05310.43
4.3.70.0000.02010.43
4.3.60.0000.01710.43
4.3.50.0000.03310.43
4.3.40.0000.04010.43
4.3.30.0000.02310.43
4.3.20.0030.02010.43
4.3.10.0000.01710.43
4.3.00.0000.01710.43

preferences:
54.45 ms | 401 KiB | 5 Q