3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ctype_digit(7), ctype_digit('7'), ctype_digit((string) 7));

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.20.0070.01420.37
8.4.10.0090.00617.35
8.3.140.0110.00718.31
8.3.130.0090.00018.52
8.3.120.0040.00420.48
8.3.110.0000.00816.75
8.3.100.0080.00324.06
8.3.90.0150.00426.77
8.3.80.0050.00519.36
8.3.70.0110.00416.63
8.3.60.0120.00318.66
8.3.50.0080.00918.17
8.3.40.0110.00418.54
8.3.30.0110.00418.41
8.3.20.0040.00418.85
8.3.10.0030.00621.70
8.3.00.0050.00319.17
8.2.260.0140.00416.64
8.2.250.0120.00616.48
8.2.240.0080.00018.68
8.2.230.0080.00020.94
8.2.220.0030.00537.54
8.2.210.0140.00426.77
8.2.200.0100.00018.88
8.2.190.0120.00916.65
8.2.180.0180.00018.49
8.2.170.0100.00322.96
8.2.160.0070.00720.41
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00419.14
8.2.120.0000.00826.35
8.2.110.0070.00319.39
8.2.100.0120.00017.72
8.2.90.0080.00019.70
8.2.80.0030.00520.59
8.2.70.0000.01017.80
8.2.60.0040.00418.09
8.2.50.0040.00418.07
8.2.40.0000.00717.91
8.2.30.0040.00418.00
8.2.20.0000.00718.00
8.2.10.0040.00417.83
8.2.00.0060.00319.45
8.1.310.0000.00718.20
8.1.300.0180.00019.97
8.1.290.0060.00330.84
8.1.280.0140.00425.92
8.1.270.0000.00822.05
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00419.40
8.1.230.0030.01020.86
8.1.220.0040.00417.74
8.1.210.0080.00018.89
8.1.200.0040.00417.10
8.1.190.0110.00017.10
8.1.180.0050.00318.10
8.1.170.0040.00718.56
8.1.160.0000.00718.66
8.1.150.0000.00818.71
8.1.140.0030.00322.11
8.1.130.0030.00319.94
8.1.120.0070.00017.21
8.1.110.0040.00317.30
8.1.100.0000.00717.21
8.1.90.0000.00717.36
8.1.80.0000.00717.28
8.1.70.0040.00417.30
8.1.60.0000.00817.49
8.1.50.0030.00517.39
8.1.40.0040.00417.27
8.1.30.0080.00017.57
8.1.20.0070.00017.60
8.1.10.0040.00417.30
8.1.00.0050.00217.21
8.0.300.0070.00020.04
8.0.290.0000.00716.75
8.0.280.0040.00418.24
8.0.270.0040.00417.12
8.0.260.0040.00418.35
8.0.250.0030.00316.93
8.0.240.0030.00316.92
8.0.230.0040.00416.94
8.0.220.0000.00716.77
8.0.210.0000.00716.82
8.0.200.0000.00616.80
8.0.190.0030.00316.76
8.0.180.0030.00516.73
8.0.170.0030.00616.72
8.0.160.0000.00716.82
8.0.150.0040.00416.74
8.0.140.0000.00716.74
8.0.130.0060.00013.21
8.0.120.0000.00716.78
8.0.110.0040.00416.90
8.0.100.0070.00016.87
8.0.90.0080.00016.62
8.0.80.0090.00616.79
8.0.70.0070.00016.71
8.0.60.0070.00016.70
8.0.50.0040.00416.78
8.0.30.0130.00316.91
8.0.20.0160.00317.40
8.0.10.0040.00416.91
8.0.00.0070.01416.58
7.4.330.0020.00215.55
7.4.320.0060.00016.36
7.4.300.0000.00616.25
7.4.290.0000.00716.35
7.4.280.0050.00316.26
7.4.270.0000.00716.38
7.4.260.0000.00716.33
7.4.250.0040.00416.37
7.4.240.0070.00016.36
7.4.230.0070.00016.43
7.4.220.0040.00416.52
7.4.210.0080.01116.36
7.4.200.0000.00716.45
7.4.160.0110.01016.42
7.4.140.0150.00617.86
7.4.130.0070.01016.34
7.4.120.0090.01316.27
7.4.110.0090.00916.33
7.4.100.0130.00316.46
7.4.90.0120.00816.14
7.4.80.0120.00619.39
7.4.70.0070.01016.32
7.4.60.0080.00816.18
7.4.50.0090.00616.50
7.4.40.0140.00316.21
7.4.10.0070.00915.32
7.4.00.0080.00815.17
7.3.330.0030.00313.05
7.3.320.0030.00313.02
7.3.310.0000.00816.24
7.3.300.0000.00716.18
7.3.290.0060.00016.04
7.3.280.0100.00416.13
7.3.260.0100.00916.36
7.3.240.0110.00816.20
7.3.230.0060.00916.30
7.3.210.0070.01116.14
7.3.200.0110.00616.44
7.3.190.0070.01016.14
7.3.180.0100.00616.38
7.3.170.0130.00316.13
7.3.160.0090.01316.12
7.3.130.0080.00715.32
7.3.120.0130.00415.17
7.3.110.0070.00915.21
7.3.100.0060.01014.98
7.3.90.0070.00815.18
7.3.80.0040.01015.02
7.3.70.0060.00815.09
7.3.60.0080.00515.06
7.3.50.0080.01015.06
7.3.40.0080.00415.01
7.3.30.0060.00715.09
7.3.20.0070.00716.94
7.3.10.0030.00916.83
7.3.00.0090.00416.76
7.2.330.0060.01216.43
7.2.320.0150.00616.54
7.2.310.0060.01216.39
7.2.300.0080.00816.30
7.2.290.0100.00716.52
7.2.260.0030.01515.54
7.2.250.0050.01315.50
7.2.240.0020.01515.51
7.2.230.0050.01015.38
7.2.220.0050.01015.33
7.2.210.0080.00915.42
7.2.200.0030.00915.17
7.2.190.0040.00915.41
7.2.180.0060.00915.33
7.2.170.0040.00915.37
7.2.160.0050.00515.44
7.2.150.0080.00517.37
7.2.140.0050.00817.31
7.2.130.0080.00817.33
7.2.120.0130.01216.44
7.2.110.0190.01116.40
7.2.100.0160.00716.47
7.2.90.0160.00616.53
7.2.80.0170.00716.56
7.2.70.0160.01116.48
7.2.60.0130.00916.58
7.2.50.0150.00916.62
7.2.40.0140.00916.72
7.2.30.0220.00716.69
7.2.20.0200.00616.51
7.2.10.0170.01216.61
7.2.00.0260.00716.61
7.1.330.0070.00716.21
7.1.320.0040.01016.12
7.1.310.0060.00916.16
7.1.300.0060.00716.13
7.1.290.0050.00816.12
7.1.280.0080.00516.26
7.1.270.0080.00616.20
7.1.260.0080.00716.20
7.1.250.0110.00216.48
7.1.240.0220.00515.59
7.1.230.0110.01015.61
7.1.220.0130.00915.66
7.1.210.0150.00515.55
7.1.200.0550.01015.53
7.1.190.0170.00715.53
7.1.180.0130.00915.47
7.1.170.0210.00615.41
7.1.160.0230.00315.60
7.1.150.0170.00915.45
7.1.140.0180.00815.48
7.1.130.0200.00915.57
7.1.120.0250.00415.28
7.1.110.0140.00715.47
7.1.100.0130.00615.50
7.1.90.0420.00515.57
7.1.80.0150.00515.52
7.1.70.0220.00715.47
7.1.60.0240.00815.39
7.1.50.0190.00515.59
7.1.40.0230.00615.51
7.1.30.0130.01015.49
7.1.20.0230.00615.49
7.1.10.0230.00715.43
7.1.00.0150.00715.45
7.0.330.0020.01016.12
7.0.320.0150.00715.15
7.0.310.0120.01115.05
7.0.300.0180.00715.16
7.0.290.0170.00515.14
7.0.280.0130.00815.16
7.0.270.0230.00614.88
7.0.260.0170.00614.97
7.0.250.0140.00615.08
7.0.240.0240.00915.14
7.0.230.0240.00715.24
7.0.220.0160.00715.10
7.0.210.0150.00715.23
7.0.200.0250.00615.15
7.0.190.0190.00615.21
7.0.180.0300.00615.04
7.0.170.0250.00615.09
7.0.160.0150.00815.04
7.0.150.0190.00415.28
7.0.140.0220.00915.24
7.0.130.0230.00115.10
7.0.120.0160.00815.22
7.0.110.0250.00615.22
7.0.100.0180.00515.04
7.0.90.0150.00515.29
7.0.80.0230.00615.22
7.0.70.0170.00415.29
7.0.60.0220.00715.08
7.0.50.0310.00615.17
7.0.40.0210.00413.80
7.0.30.0160.00513.84
7.0.20.0130.00713.84
7.0.10.0180.00713.92
7.0.00.0180.00713.94
5.6.400.0050.00914.89
5.6.390.0060.00914.75
5.6.380.0060.00914.59
5.6.370.0050.00714.55
5.6.360.0050.01014.44
5.6.350.0080.00814.66
5.6.340.0070.00814.53
5.6.330.0070.00714.54
5.6.320.0080.00414.55
5.6.310.0060.00814.68
5.6.300.0040.00914.85
5.6.290.0060.00714.61
5.6.280.0060.00814.75
5.6.270.0090.00314.87
5.6.260.0060.00814.73
5.6.250.0050.00914.56
5.6.240.0040.00814.63
5.6.230.0020.01114.57
5.6.220.0080.00414.62
5.6.210.0060.00614.60
5.6.200.0100.00414.67
5.6.190.0050.01014.76
5.6.180.0030.00914.64
5.6.170.0040.00914.47
5.6.160.0060.00714.61
5.6.150.0060.00914.59
5.6.140.0040.00814.71
5.6.130.0060.00614.75
5.6.120.0060.00614.74
5.6.110.0080.00714.74
5.6.100.0050.01014.60
5.6.90.0050.01114.64
5.6.80.0080.00614.51
5.6.70.0070.00614.66
5.6.60.0080.00614.56
5.6.50.0070.00614.47
5.6.40.0040.00914.52
5.6.30.0040.01014.68
5.6.20.0110.00314.57
5.6.10.0030.00814.55
5.6.00.0040.00814.69
5.5.380.0130.00310.87
5.5.370.0100.00310.87
5.5.360.0130.00310.87
5.5.350.0070.00710.87
5.5.340.0060.01010.87
5.5.330.0060.00910.87
5.5.320.0160.00010.87
5.5.310.0130.00210.99
5.5.300.0100.00510.87
5.5.290.0100.00511.15
5.5.280.0090.00911.05
5.5.270.0070.00911.05
5.5.260.0090.00611.07
5.5.250.0150.00010.87
5.5.240.0070.00710.91
5.5.230.0100.00310.95
5.5.220.0080.00810.92
5.5.210.0110.00510.87
5.5.200.0160.00010.92
5.5.190.0120.00310.87
5.5.180.0090.00310.93
5.5.170.0160.00414.20
5.5.160.0110.00210.87
5.5.150.0150.00010.99
5.5.140.0110.00411.00
5.5.130.0080.00810.87
5.5.120.0100.00310.91
5.5.110.0110.00410.91
5.5.100.0040.01110.87
5.5.90.0130.00310.87
5.5.80.0040.01210.87
5.5.70.0050.01010.87
5.5.60.0090.00410.88
5.5.50.0100.00510.87
5.5.40.0060.00610.87
5.5.30.0120.00210.87
5.5.20.0130.00010.91
5.5.10.0070.00710.92
5.5.00.0090.00910.87
5.4.450.0150.00011.05
5.4.440.0120.00411.04
5.4.430.0140.00010.95
5.4.420.0060.01010.87
5.4.410.0080.00810.87
5.4.400.0100.00210.93
5.4.390.0100.00610.87
5.4.380.0150.00010.87
5.4.370.0060.00910.87
5.4.360.0120.00210.87
5.4.350.0120.00310.88
5.4.340.0130.00210.87
5.4.330.0030.01010.87
5.4.320.0080.00810.87
5.4.310.0080.00810.87
5.4.300.0060.00810.87
5.4.290.0120.00310.87
5.4.280.0160.00010.87
5.4.270.0060.00610.87
5.4.260.0120.00010.87
5.4.250.0060.01110.87
5.4.240.0130.00310.87
5.4.230.0110.00410.87
5.4.220.0100.00510.87
5.4.210.0130.00010.87
5.4.200.0120.00210.87
5.4.190.0070.01010.91
5.4.180.0000.01310.87
5.4.170.0040.00810.87
5.4.160.0110.00510.87
5.4.150.0080.00810.87
5.4.140.0080.00510.97
5.4.130.0110.00310.89
5.4.120.0110.00410.87
5.4.110.0000.01310.87
5.4.100.0080.00810.87
5.4.90.0120.00410.87
5.4.80.0090.00410.87
5.4.70.0030.01310.87
5.4.60.0120.00410.87
5.4.50.0040.00810.87
5.4.40.0140.00010.87
5.4.30.0120.00410.89
5.4.20.0080.00810.87
5.4.10.0080.00810.87
5.4.00.0080.00810.87
5.3.290.0120.00310.87
5.3.280.0030.01010.87
5.3.270.0090.00510.87
5.3.260.0090.00610.87
5.3.250.0090.00610.87
5.3.240.0130.00210.87
5.3.230.0100.00310.87
5.3.220.0110.00410.87
5.3.210.0040.00910.87
5.3.200.0100.00510.87
5.3.190.0080.00810.87
5.3.180.0050.00910.87
5.3.170.0110.00310.87
5.3.160.0100.00310.87
5.3.150.0080.00610.87
5.3.140.0100.00510.87
5.3.130.0080.00410.87
5.3.120.0100.00310.87
5.3.110.0070.00710.87
5.3.100.0080.00610.87
5.3.90.0070.00710.87
5.3.80.0110.00410.87
5.3.70.0120.00410.87
5.3.60.0080.00410.87
5.3.50.0150.00010.87
5.3.40.0070.00710.87
5.3.30.0070.00710.87
5.3.20.0130.00010.87
5.3.10.0060.00910.87
5.3.00.0070.00710.87
5.2.170.0060.00610.87
5.2.160.0120.00010.87
5.2.150.0100.00010.87
5.2.140.0060.00510.87
5.2.130.0120.00010.87
5.2.120.0090.00310.87
5.2.110.0070.00410.87
5.2.100.0090.00310.87
5.2.90.0100.00010.87
5.2.80.0110.00010.87
5.2.70.0110.00310.87
5.2.60.0060.00610.87
5.2.50.0060.00610.87
5.2.40.0030.00710.87
5.2.30.0090.00310.87
5.2.20.0030.00910.87
5.2.10.0100.00310.87
5.2.00.0080.00310.87
5.1.60.0100.00010.87
5.1.50.0110.00010.87
5.1.40.0050.00510.87
5.1.30.0070.00310.87
5.1.20.0050.00710.87
5.1.10.0100.00010.87
5.1.00.0100.00010.87
5.0.50.0080.00010.87
5.0.40.0030.00610.87
5.0.30.0070.00210.87
5.0.20.0060.00310.87
5.0.10.0090.00010.87
5.0.00.0070.00010.87
4.4.90.0070.00010.87
4.4.80.0030.00310.87
4.4.70.0000.00710.87
4.4.60.0030.00510.87
4.4.50.0040.00410.87
4.4.40.0060.00310.87
4.4.30.0050.00310.87
4.4.20.0080.00010.87
4.4.10.0000.00610.87
4.4.00.0040.00510.87
4.3.110.0000.00510.87
4.3.100.0030.00310.87
4.3.90.0000.00810.87
4.3.80.0000.00610.87
4.3.70.0040.00410.87
4.3.60.0040.00410.87
4.3.50.0070.00010.87
4.3.40.0000.00610.87
4.3.30.0040.00410.87
4.3.20.0070.00010.87
4.3.10.0000.00610.87
4.3.00.0030.00310.87

preferences:
89.04 ms | 403 KiB | 5 Q