3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 'ali' , 3.14 , 9 ] ; foreach ( $data as $value ) { /** * preg_match fonksiyonundan dönen değer sıfırdan büyükse, * giriş değeri sayısal olarak kabul edebilirsin. */ var_dump ( $value , 0 < preg_match ( '/^[0-9]+$/u' , $value ) ) ; }

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.140.0080.00016.71
8.3.130.0120.00818.37
8.3.120.0040.00419.02
8.3.110.0090.00620.94
8.3.100.0080.00317.00
8.3.90.0090.00626.77
8.3.80.0060.00316.63
8.3.70.0090.01216.75
8.3.60.0090.00918.55
8.3.50.0090.01122.07
8.3.40.0040.01118.80
8.3.30.0140.00018.73
8.3.20.0040.00420.85
8.3.10.0050.00321.73
8.3.00.0070.00023.70
8.2.250.0040.00416.83
8.2.240.0030.00516.66
8.2.230.0050.00322.58
8.2.220.0030.00724.06
8.2.210.0110.00826.77
8.2.200.0060.00316.88
8.2.190.0150.00616.75
8.2.180.0040.01818.63
8.2.170.0160.00618.91
8.2.160.0040.01122.96
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0080.00020.52
8.2.100.0090.00317.85
8.2.90.0030.00618.22
8.2.80.0020.00718.95
8.2.70.0080.00017.93
8.2.60.0000.00718.03
8.2.50.0000.00818.10
8.2.40.0040.00419.30
8.2.30.0040.00419.26
8.2.20.0030.00518.01
8.2.10.0040.00419.12
8.2.00.0040.00419.21
8.1.300.0140.00419.73
8.1.290.0060.00318.88
8.1.280.0150.00625.92
8.1.270.0040.00422.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00619.26
8.1.230.0000.01120.96
8.1.220.0040.00417.74
8.1.210.0040.00418.88
8.1.200.0030.00617.36
8.1.190.0030.00617.35
8.1.180.0000.00818.10
8.1.170.0000.00818.79
8.1.160.0000.00718.89
8.1.150.0020.00518.84
8.1.140.0040.00418.89
8.1.130.0030.00620.25
8.1.120.0000.00717.67
8.1.110.0040.00417.48
8.1.100.0050.00217.61
8.1.90.0060.00317.56
8.1.80.0000.00817.49
8.1.70.0070.00017.56
8.1.60.0040.00417.72
8.1.50.0000.00717.63
8.1.40.0050.00317.64
8.1.30.0040.00417.76
8.1.20.0080.00317.77
8.1.10.0000.00717.58
8.1.00.0000.00817.52
8.0.300.0070.00020.20
8.0.290.0060.00316.88
8.0.280.0070.00018.44
8.0.270.0080.00017.01
8.0.260.0060.00018.32
8.0.250.0000.00717.09
8.0.240.0000.00617.05
8.0.230.0080.00017.06
8.0.220.0030.00717.15
8.0.210.0030.00317.05
8.0.200.0000.00617.11
8.0.190.0070.00017.14
8.0.180.0000.00717.13
8.0.170.0030.00617.11
8.0.160.0040.00417.14
8.0.150.0030.00517.02
8.0.140.0000.00717.06
8.0.130.0030.00313.52
8.0.120.0000.00716.95
8.0.110.0000.00817.03
8.0.100.0040.00416.89
8.0.90.0000.00817.11
8.0.80.0100.00517.09
8.0.70.0040.00417.09
8.0.60.0050.00316.98
8.0.50.0040.00417.11
8.0.30.0150.00317.18
8.0.20.0090.01417.51
8.0.10.0070.00017.19
8.0.00.0080.01016.84
7.4.330.0020.00215.55
7.4.320.0060.00016.80
7.4.300.0030.00316.77
7.4.290.0050.00316.63
7.4.280.0050.00216.70
7.4.270.0000.00716.80
7.4.260.0000.00716.61
7.4.250.0040.00416.63
7.4.240.0070.00016.76
7.4.230.0050.00216.73
7.4.220.0080.00016.79
7.4.210.0070.01016.73
7.4.200.0020.00516.83
7.4.140.0090.00917.86
7.4.130.0090.00916.57
7.4.120.0070.01016.63
7.4.110.0040.01916.71
7.4.100.0210.00016.66
7.4.90.0110.01116.75
7.4.80.0120.00819.39
7.4.70.0100.00616.74
7.4.60.0040.01216.69
7.4.50.0100.00716.68
7.4.40.0130.00316.86
7.4.00.0070.00714.92
7.3.330.0050.00013.38
7.3.320.0000.00513.34
7.3.310.0000.00716.54
7.3.300.0060.00016.54
7.3.290.0060.01016.50
7.3.280.0100.00516.47
7.3.260.0110.00916.54
7.3.240.0070.01016.47
7.3.230.0090.00916.51
7.3.210.0080.00916.75
7.3.200.0070.01016.55
7.3.190.0100.00716.48
7.3.180.0090.00616.31
7.3.170.0030.01916.68
7.3.160.0100.01316.86
7.3.60.0040.01014.93
7.3.50.0060.00614.91
7.3.40.0070.00714.96
7.3.30.0100.00314.91
7.3.20.0100.00614.61
7.3.10.0150.00414.92
7.3.00.0110.00414.82
7.2.330.0120.00616.77
7.2.320.0140.00416.66
7.2.310.0140.00416.75
7.2.300.0030.01316.73
7.2.290.0140.00316.71
7.2.190.0000.01415.06
7.2.180.0070.00715.21
7.2.170.0130.00015.14
7.2.160.0110.01115.02
7.2.150.0110.00614.91
7.2.140.0220.00615.11
7.2.130.0220.00714.98
7.2.120.0240.00415.15
7.2.110.0070.01014.77
7.2.100.0200.00015.26
7.2.90.0210.00314.98
7.2.80.0130.00315.10
7.2.70.0130.00314.68
7.2.60.0170.00014.99
7.2.50.0240.00615.19
7.2.40.0130.00714.88
7.2.30.0330.00315.06
7.2.20.0130.00315.06
7.2.10.0130.00315.02
7.2.00.0780.00615.30
7.1.300.0150.00613.83
7.1.290.0150.00613.95
7.1.280.0130.00713.98
7.1.270.0200.00914.05
7.1.260.0100.00614.00
7.1.250.0170.00413.83

preferences:
51.62 ms | 403 KiB | 5 Q